🌍 Public
Viewing a saved revision (read-only)
3e643629fff54f6ba8de9db63b693857
Fork of Choropleth Map with Interactive Filtering F
Ffsajedi22
Last edited Mar 15, 2023
Created on Mar 15, 2023
Forked from Choropleth Map with Interactive Filtering
A choropleth map visualizes countries by their economic classification, with a color legend that doubles as an interactive filter. Users click legend items to highlight matching countries and dim others, while hovering over map regions reveals the country name and value in a tooltip. The map uses `d3.geoNaturalEarth1` and `d3.geoPath` for projection, `d3.zoom` for panning and zooming, and a `d3.scaleOrdinal` with `d3.schemeSpectral`. Data comes from the World Atlas TopoJSON and TSV files, with panning handled via SVG transforms.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!