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
FFilippaNathhorst
Last edited Oct 30, 2019
Created on Oct 30, 2019

A choropleth map colored by economy type uses an ordinal color scale and a Natural Earth projection to display global income groups. Users hover over legend items to filter the map, dimming non-selected countries and highlighting matches. Built with D3 v5, it combines `d3.geoPath`, `d3.geoNaturalEarth1`, and `d3.zoom` for panning, while the legend uses `d3.scaleOrdinal` and `schemeSpectral`. Data comes from the World Atlas TopoJSON and TSV files rendered as SVG elements.

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