Choropleth Map
✓ Published0🌍 Public
This choropleth map colors countries by their economy type using a categorical ordinal scale with the d3.schemeSpectral palette. It renders world geography with d3.geoNaturalEarth1 and d3.geoPath, allowing zoom and pan via d3.zoom. A custom color legend displays the scale with circles and labels, while hovering highlights a country in red. Data comes from the world-atlas TopoJSON and TSV files, and the visualization is drawn with SVG.
AI-generated descriptionMIT Licensed