🌍 Public
Viewing a saved revision (read-only)
55028f9cde1741f5916c539f022816db
Fork of Choropleth Map
This choropleth map visualizes global economies by color-coding countries according to income group data from the World Atlas 50m dataset. Viewers can zoom and pan the map using the zoom event handler, while hovering over a country highlights it in red and reveals its name and economy classification in a tooltip. The map is rendered as SVG paths using d3.geoPath with a Natural Earth projection, with a color legend built via the custom colorLegend component that uses d3.scaleOrdinal and a spectral color scheme.
AI-generated description