Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map with Interactive filtering

Public visualization

Viewing a saved revision (read-only)

118224f3c026473e8995a04d03855a78

Choropleth Map with Interactive filtering

0 stars0🌍 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