Cloropleth
✓ Published2🌍 Public
This choropleth displays world countries colored by economic classification, with a color legend showing the ordinal scale’s domain. Built with D3 v5, it uses `d3.geoPath` and `geoNaturalEarth1` to project TopoJSON data from world-atlas, joined with ISO country codes from a TSV file. The map supports zooming via `d3.zoom`, and hovering highlights countries in red. A custom `colorLegend` component renders colored circles and text labels, while `schemeSpectral` provides the sequential color range.
AI-generated descriptionMIT Licensed