Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
Ssteveaigbe
Last edited Nov 24, 2020
Created on Nov 24, 2020
Forked from Choropleth Map

This choropleth map displays countries colored by economic classification, with an interactive legend that filters map features by clicking on a category. The visualization uses d3.geoNaturalEarth1 projection with d3.geoPath to render country boundaries, while the color legend applies d3.scaleOrdinal with schemeSpectral. Pan and zoom are handled through d3.zoom. Data comes from the world-atlas TopoJSON dataset paired with TSV metadata, and filtering dims non-selected countries while highlighting the chosen economic group.

AI-generated description
MIT Licensed

Similar vizzes