Skip to main content
100%

Interactive choropleth map filtering

✓ Published1🌍 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
MIT Licensed

Similar vizzes