Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
VVamsiYandapalli
Last edited Dec 10, 2021
Created on Dec 9, 2021
Forked from Choropleth Map

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 description
MIT Licensed

Similar vizzes