Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Choropleth Map with Interactive Filtering

Public visualization

Viewing a saved revision (read-only)

d10a59a7c22e4ac394139726e34d5b53

D3 Choropleth Map with Interactive Filtering

0 stars0🌍 Public
Rrdeichert
Last edited Dec 16, 2019
Created on Dec 16, 2019
Forked from D3 Choropleth Map

This D3 choropleth map visualizes countries colored by their economy category, using a spectral color scale. Users can click legend items to filter the map, highlighting matching countries while dimming others. The map supports zooming and panning through the `d3.zoom` event. It uses `d3.geoPath` and the `geoNaturalEarth1` projection to render geographic features, and the `d3.scaleOrdinal` color scale with `d3.schemeSpectral` for encoding. Data is loaded from the World Atlas topojson and TSV files, processed with TopoJSON.

AI-generated description