Skip to main content
100%

Choropleth Map with Interactive filtering

✓ Published0🌍 Public
CCassie
Last edited Oct 24, 2021
Created on Oct 23, 2021
Forked from Choropleth Map

This choropleth map displays global economic classifications by country, with an interactive color legend that enables filtering by category. Selecting a legend item highlights matching countries while dimming others, and clicking again clears the filter. The visualization uses d3.geoPath with a geoNaturalEarth1 projection to render world boundaries from TopoJSON data (World Atlas 50m), styled as SVG paths. The d3.scaleOrdinal with schemeSpectral drives the color encoding, while d3.zoom provides pan and zoom transformation on the map group.

AI-generated description
MIT Licensed

Similar vizzes