🌍 Public
Viewing a saved revision (read-only)
db66bf51e9a64212a68f1c3a1d7b3381
Choropleth Map
A choropleth map colors countries by economy classification, using a spectral ordinal scale. The visualization loads geographic data from the World Atlas TopoJSON and TSV files, projecting it with a natural Earth projection via `d3.geoPath`. Users can pan and zoom through the `d3.zoom` behavior, while a color legend built with custom SVG elements displays the categories. Hovering highlights countries in red, and tooltips show each country’s name and economic group.
AI-generated description