The visualization demonstrates how to syncronize the state of two side-by-side Mapbox GL based maps. As the user interacts with one of the two maps, the state of the map (center position, zoom level, pitch and bearing) is dynamically copied to the second map (and vice versa). The code also demonstrates how to prevent call stack overflow due to recursive event handler triggering when the map state is updated.
The dataset is based on driver license suspensions from California DMV and East Bay Community Law Center. See prior visualization here
See the script in action at bl.ocks.org/boeric here, and fullscreen here
https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.4/mapbox-gl.js
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.19/topojson.js