🌍 Public
Viewing a saved revision (read-only)
dc73c3b088624276b959b86334b72a1c
Chropleth Map
This choropleth map visualizes countries colored by their economic group, using the `d3.geoPath` projection to render the world and a `d3.scaleOrdinal` color scale with `d3.schemeSpectral`. Country data comes from a TopoJSON world atlas, enriched with a TSV file for metadata. A custom legend component displays the color categories, and a `d3.zoom` interaction updates the map’s transform. Hovering over a country reveals its name and economic group via an SVG `title` element.
AI-generated description