🌍 Public
Viewing a saved revision (read-only)
7c537c0dff7341c1ad6d474ed075ccb3
Choropleth Map with Interactive Filtering
A choropleth map displays global economic classifications by country, with a color legend encoding each category. Clicking a legend item filters the map, dimming non-matching countries while highlighting the selected group. Hovering reveals country names and values via tooltips. Built with D3 v5, it uses `geoNaturalEarth1` and `geoPath` for SVG map rendering, `scaleOrdinal` with `schemeSpectral` for colors, and `zoom` for panning. Data comes from TopoJSON world-atlas merged with TSV metadata.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!