Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
Ccheeson
Last edited Aug 10, 2020
Created on Aug 9, 2020
Forked from Hello VizHub

This interactive choropleth map visualizes global economic classifications using a color-coded world map, with a legend that filters countries by economy type. Users can click a legend category to highlight matching countries and dim others, and can click again to clear the filter. The visualization uses d3.geoPath with a geoNaturalEarth1 projection to render country boundaries from World Atlas TopoJSON and TSV data. Color assignments use d3.scaleOrdinal with the schemeSpectral palette, while d3.zoom enables panning and scaling. The SVG rendering includes hover effects that change country fill to white.

AI-generated description
MIT Licensed

Similar vizzes