Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
YYF
Last edited Oct 6, 2018
Created on Oct 1, 2018
Forked from Choropleth Map

A choropleth map colors countries by economic classification using D3's `geoNaturalEarth1` projection and `geoPath`, with an ordinal color scale from `schemeSpectral`. Clicking a legend item filters the map by highlighting matching countries and dimming others, while the sphere fades to emphasize the selection. The visualization loads country boundaries from TopoJSON world-atlas data and supports pan and zoom via `d3.zoom`, with tooltips showing country names and values.

AI-generated description
MIT Licensed

Similar vizzes