Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

ac05ee3383f4448b9b2b18f2b271c62e

Choropleth Map

0 stars2🌍 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