Choropleth map
✓ Published2🌍 Public
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 descriptionMIT Licensed