Skip to main content
100%

23_Choropleth Map with interactive filtering

✓ Published0🌍 Public
FFMajid-ops
Last edited Dec 21, 2020
Created on Dec 21, 2020
Forked from Choropleth Map

This choropleth map displays global economies color-coded by income group, with interactive filtering via a legend that dims non-selected regions and highlights the chosen category. The visualization uses d3.geoPath and d3.geoNaturalEarth1 to render GeoJSON country features from the World Atlas TopoJSON dataset, with a d3.zoom-enabled pan and zoom. A d3.scaleOrdinal with schemeSpectral maps economy values to colors, while clickable legend ticks toggle the filter, updating opacity and stroke via the D3 general update pattern.

AI-generated description
MIT Licensed

Similar vizzes