🌍 Public
Viewing a saved revision (read-only)
f346626fc4ef481c87ec6b2854d8a546
Choropleth map of income group with interactive filtering
This interactive choropleth map displays global income groups using a YlGn color scale, with each country colored according to its income classification. Users can click legend items to filter the map, dimming non-selected countries to 20% opacity while highlighting the chosen income group. Built with D3 v5, the visualization combines geoNaturalEarth1 projection with geoPath for country rendering, loads data from world-atlas TopoJSON and TSV files, and implements zoom functionality through d3-zoom's event transform. Hovering reveals country names and income values via title tooltips.
AI-generated description