Choropleth Map
✓ Published2🌍 Public
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 descriptionMIT Licensed