Choropleth Map
✓ Published1🌍 Public
This choropleth map visualizes countries by their economy type, using a spectral color scale applied via `d3.scaleOrdinal` and `d3.schemeSpectral`. It projects geographic data with `d3.geoNaturalEarth1` and renders shapes through `d3.geoPath` in an SVG, with topojson data loaded from the World Atlas. The map supports zooming via `d3.zoom`, and hovering highlights individual countries. Country names and economy values appear as tooltips from appended title elements.
AI-generated descriptionMIT Licensed