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
Iinvertedchicken
Last edited May 23, 2019
Created on May 23, 2019

A choropleth map of global economies uses color to encode income groups. Clicking a color legend item filters the map to show only that category, dimming all other countries. The map is rendered using D3’s `geoPath` with a natural Earth projection and a spectral ordinal color scale. Interactive filtering is implemented through a custom `colorLegend` with `onClick` handlers and opacity transitions. Data is loaded from the world-atlas TSV and TopoJSON files.

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