🌍 Public
Viewing a saved revision (read-only)
1a5ab98a739041e98d6c77d29f06a42e
Choropleth map
A world map rendered as a choropleth shades each country according to its economic classification, using a spectral color scale. Hovering highlights a country and shows its name and classification. The map is drawn with d3.geoPath and a Natural Earth projection, with TopoJSON data from the world-atlas package. A custom colorLegend function displays the ordinal scale, and d3.zoom enables interactive panning and zooming of the SVG.
AI-generated description