Skip to main content
100%

Mapbox GL Zoom-in Population map

✓ Published0🌍 Public
JJn1532
Last edited Mar 20, 2018
Created on Mar 19, 2018

This zoomable choropleth map of the United States visualizes population at the state level when zoomed out, then transitions to county-level population data when zoomed in past a threshold of zoom level 4. Built with Mapbox GL JS v0.27.0, the map uses two vector layers from a Mapbox-hosted source, each with its own color stops and legend. A `zoom` event toggles the visibility of the state and county legends dynamically. The map uses a light basemap style and is centered on the contiguous US.

AI-generated description

Mapbox GL Zoom-in Population map

// source http://jsbin.com/qahokec

gpl-3.0 Licensed

Similar vizzes