Choropleth map
✓ Published2🌍 Public
This choropleth map colors world countries by economy type using a spectral color scale, with a hover effect highlighting individual countries and a legend showing the ordinal categories. It renders GeoJSON country outlines as SVG paths via d3.geoPath with a Natural Earth projection, and loads country boundaries from the world-atlas TopoJSON dataset. The map supports zoom and pan through d3.zoom, and the color legend is built with a custom reusable component in d3.
AI-generated descriptionMIT Licensed