Viewing a saved revision (read-only)
8c3a562d017a4a62a2f2378a65ec25fd
Choropleth Map with Interactive Filtering
This choropleth map displays global economic classifications with an interactive legend that filters countries by color value. Clicking a legend item isolates the corresponding economy type, dimming non-matching countries to 10% opacity, while hovering over legend entries updates their clarity. The visualization uses `d3.geoNaturalEarth1` and `d3.geoPath` for map projection, `d3.zoom` for panning and zooming, and `d3.scaleOrdinal` with `d3.schemeSpectral` for color encoding. World geometry comes from TopoJSON data loaded via `d3.json`, with country names and economy attributes merged from TSV data.
AI-generated descriptionA choropleth map where you can hover over items in the color legend items to interactively filter!