🌍 Public
Viewing a saved revision (read-only)
3f5a913ba99446f5b01dd4e34e17ad04
Choropleth Map with Interactive Filtering
A choropleth map displays global economies by country, colored with a spectral ordinal scale. Users click legend items to filter the map, which highlights matching countries and dims others. The visualization uses D3 v5 with `geoPath`, `geoNaturalEarth1`, and a `zoom` interaction, alongside a custom color legend built with `scaleOrdinal` and `schemeSpectral`. Data merges TopoJSON country boundaries with TSV attributes loaded from the `world-atlas` package.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!