Fork of Choropleth Map
✓ Published0🌍 Public
This choropleth map colors countries by their economy category using a diverging spectral color scale. The visualization supports zooming and panning via d3.zoom, and renders geographic boundaries with d3.geoPath and the Natural Earth projection. A custom color legend built with SVG circles and text labels displays the ordinal scale categories, while the map loads country data from TopoJSON and TSV files. Hovering over a country highlights it in red and shows its name and economy value in a tooltip.
AI-generated descriptionMIT Licensed