Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive Filtering

Public visualization

Choropleth Map with Interactive Filtering

0 stars0🌍 Public
BBrandon Lehr
Last edited Aug 28, 2019
Created on Aug 23, 2019

A choropleth map displays global income groups, coloring each country through a categorical `scaleOrdinal` with the `schemeSpectral` range. Users click legend items to filter the map, highlighting matching countries while dimming others and the sphere backdrop. The map renders via `geoNaturalEarth1`, `geoPath`, and `zoom` interactions, while the legend uses click handlers and opacity toggling. Data comes from TopoJSON world-atlas and TSV files loaded through `d3.json` and `d3.tsv`.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed