🌍 Public
Viewing a saved revision (read-only)
43fb4700f32845d09f8d2f244d0c7a0c
Fork of Poverty vs Wealth in the World
This choropleth map visualizes global economic categories using D3’s `geoNaturalEarth1` projection and `geoPath`. Countries are colored via a `scaleOrdinal` with `schemeOranges`, and hovering or clicking a country updates a title showing its name or economic category. The legend uses D3’s data joins to render clickable color swatches, while a `d3.zoom` handler enables pan and zoom. Data is loaded from the World Atlas TopoJSON and TSV files.
AI-generated description