🌍 Public
Viewing a saved revision (read-only)
4dbd79ef3adf4328bd170c4d47d4e9f4
Choropleth Map with Interactive Filtering
A choropleth map colors countries by economic classification using a D3 ordinal color scale, then allows interactive filtering through hover-adjacent clicks on the legend. The map renders with SVG and a natural Earth projection via `d3.geoPath`, while the legend items toggle opacity and highlight matching countries. Users can zoom and pan using `d3.zoom`, and the map loads world geometry from TopoJSON with economy data from a TSV file.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!