🌍 Public
Viewing a saved revision (read-only)
54c54c103fc148d5b8507ea1ce8b30bb
Choropleth Map with Interactive Filtering
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