Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive Filtering

Public visualization

Viewing a saved revision (read-only)

b0d0d43677a1444a824b4141f8b574bf

Choropleth Map with Interactive Filtering

0 stars0🌍 Public
NNoah Weinberg
Last edited Oct 6, 2020
Created on Oct 6, 2020

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 description

A choropleth map where you can hover over items in the color legend items to interactively filter!