Fork of Choropleth Map with Interactive Filtering
A choropleth map of global economies uses color to encode categorical income groups, with an interactive legend that filters countries by clicking color swatches. Hovering highlights individual territories, while zoom and pan are enabled. The visualization is built with D3 v5, using `d3.geoNaturalEarth1` and `d3.geoPath` for map projection, `d3.zoom` for interaction, and `d3.scaleOrdinal` with `schemeSpectral` for coloring. Country boundaries and metadata come from the World Atlas TopoJSON and TSV datasets.