Choropleth Map with Interactive Filtering
✓ Published0🌍 Public
A choropleth map of world economies displays countries colored with an ordinal spectral scale. Users click a legend to filter the map, highlighting matching countries and dimming all others. Built with D3 v5, the map uses a natural Earth projection with `d3.geoPath` and `d3.geoNaturalEarth1`. Economic data comes from a TSV file loaded via `d3.tsv`, while country boundaries are processed from TopoJSON using the `topojson` library. The visualization supports zooming and panning via the `d3.zoom` API.
AI-generated descriptionMIT Licensed