Fork of Fork of Choropleth Map with Interactive Filtering
This choropleth map displays global economic groups, color-coded through an ordinal spectral scale. Hovering over a legend item interactively filters the map, dimming all countries not belonging to that category and highlighting those that do. The visualization uses D3.js v5 with `geoNaturalEarth1` and `geoPath` for map projection, while `scaleOrdinal` and `schemeSpectral` drive the color encoding. Clicking legend entries toggles filtering by economic group, with world data sourced from the World Atlas TopoJSON and TSV files.