🌍 Public
Viewing a saved revision (read-only)
0f111eb7f845483f988313d31efc90e3
choropleth map
A choropleth map colors world countries by their economy classification using a categorical ordinal color scale. Built with D3 v7 and TopoJSON, it renders geographic paths via `d3.geoPath` with a natural Earth projection, while zooming is handled through D3's zoom behavior. A custom legend component displays the color scale with SVG circles and text. Countries highlight red on hover, and the data merges World Atlas TopoJSON with TSV metadata to assign economy values.
AI-generated description