🌍 Public
Viewing a saved revision (read-only)
30f62eb0bef248c09a16d1cfa5dd30e2
D3 Choropleth Map with Interactive Filtering
This D3 choropleth map visualizes countries colored by their economy category, using a spectral color scale. Users can click legend items to filter the map, highlighting matching countries while dimming others. The map supports zooming and panning through the `d3.zoom` event. It uses `d3.geoPath` and the `geoNaturalEarth1` projection to render geographic features, and the `d3.scaleOrdinal` color scale with `d3.schemeSpectral` for encoding. Data is loaded from the World Atlas topojson and TSV files, processed with TopoJSON.
AI-generated description