Choropleth Map
✓ Published0🌍 Public
A choropleth map colors countries by economy classification, using a spectral ordinal scale. The visualization loads geographic data from the World Atlas TopoJSON and TSV files, projecting it with a natural Earth projection via `d3.geoPath`. Users can pan and zoom through the `d3.zoom` behavior, while a color legend built with custom SVG elements displays the categories. Hovering highlights countries in red, and tooltips show each country’s name and economic group.
AI-generated descriptionMIT Licensed