Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed