Skip to main content
100%

Choropleth Map

✓ Published2🌍 Public
Aannadehtiarova
Last edited Feb 2, 2021
Created on Feb 2, 2021

This choropleth map colors countries by their economy category using a blue ordinal scale, with a hover tooltip showing the country name and economy value. The visualization projects geographic data with `d3.geoNaturalEarth1` and renders features via `d3.geoPath`. It loads country boundaries from TopoJSON and names from TSV, then applies `d3.zoom` for panning and scaling. A custom `colorLegend` component displays the color scale with circles and labels in SVG.

AI-generated description
MIT Licensed

Similar vizzes