Choropleth map with interactive filtering
✓ Published0🌍 Public
This choropleth map displays countries colored by economic classification, with a linked legend that filters the map to highlight selected categories. Clicking a legend entry dims all other countries and emphasizes those matching the chosen value. The visualization uses d3.geoNaturalEarth1 projection and d3.geoPath to render geographic features from TopoJSON world atlas data, while a d3.scaleOrdinal with a spectral color scheme maps economic groups to colors. Interactive zoom and filtering are implemented via d3.zoom and click handlers on the SVG legend elements.
AI-generated descriptionMIT Licensed