🌍 Public
Viewing a saved revision (read-only)
b0d0d43677a1444a824b4141f8b574bf
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!