Skip to main content
100%

Choropleth Map with Interactive filtering

✓ Published0🌍 Public
PPiotr Paszek
Last edited Apr 25, 2021
Created on Apr 25, 2021
Forked from Choropleth Map

This choropleth map displays world countries colored by their economy classification using an ordinal color scale derived from d3.scaleOrdinal and d3.schemeSpectral. Clicking legend items filters the map to highlight countries matching the selected economy type while dimming others, with the sphere and map regions adjusting opacity accordingly. The visualization uses d3.geoPath with the geoNaturalEarth1 projection to render topojson data from the world-atlas 50m dataset, and supports pan and zoom interactions through d3.zoom. Tooltips show country names and values via SVG title elements.

AI-generated description
MIT Licensed

Similar vizzes