Choropleth Map
✓ Published0🌍 Public
This choropleth map colors countries by economic classification using an ordinal color scale with a spectral scheme. The visualization renders world geography as SVG paths projected with the Natural Earth projection, with zoom and pan interactions enabled through d3.zoom. Data loads from the World Atlas TopoJSON and TSV files, which are joined by ISO country codes to populate map features. Hovering highlights individual countries in maroon, while tooltip titles display each country’s name and economy type.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed