Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

choropleth map - interactive filtering (Fork of dataviz 2018 #21)

Public visualization

choropleth map - interactive filtering (Fork of dataviz 2018 #21)

0 stars0🌍 Public
Zzach b.
Last edited Aug 25, 2026
Created on Aug 25, 2026

This interactive choropleth map visualizes countries colored by economic grouping using an ordinal color scale. Users can click a legend swatch to highlight matching countries, dimming others, or click the map background to clear the filter. The visualization is built with D3 v5, using `geoNaturalEarth1` and `geoPath` for map projections and `scaleOrdinal` for colors. Data comes from the world-atlas TopoJSON and TSV files, with rendering in SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed