Skip to main content
100%

Choropleth Map with Interactive Filtering

✓ Published0🌍 Public
TToooooooT
Last edited Sep 19, 2022
Created on Sep 19, 2022
Forked from Choropleth Map

This choropleth map displays global economic classifications using a categorical color scale, with a legend that filters countries by clicking on a category to highlight matches and fade others. Built with D3 v5, it renders country shapes via d3.geoPath and TopoJSON data from the World Atlas, while the legend uses d3.scaleOrdinal with a spectral scheme. Zoom and pan interactions are handled through d3.zoom, and hovering changes a country’s fill to red.

AI-generated description
MIT Licensed

Similar vizzes