Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive choropleth map filtering

Public visualization

Interactive choropleth map filtering

0 stars1🌍 Public
Zzenoe
Last edited Oct 6, 2021
Created on Oct 5, 2021
Forked from atlas

An interactive choropleth map displays global economic classifications using color-coded countries over a natural Earth projection. Clicking legend entries filters the map, dimming unselected economies and highlighting the chosen one while allowing zoom and pan through d3.zoom. The visualization uses d3.geoPath to render TopoJSON world-atlas data, d3.scaleOrdinal with schemeSpectral for color mapping, and SVG elements with transitions managed by D3’s data join. Hovering changes country fill to red, and tooltips show country names and values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed