Skip to main content
100%

Cloropleth

✓ Published2🌍 Public
Vvladvaculin
Last edited Sep 8, 2019
Created on Sep 5, 2019
Forked from Cheap MAAAAAP

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 description
MIT Licensed

Similar vizzes