Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

a00b6f8dbb624b05a46cff75cf23ef84

World Map

0 stars1🌍 Public
Iiblub
Last edited Sep 30, 2021
Created on Sep 29, 2021
Forked from Line Chart (time)

This example displays a natural Earth projection world map with graticule lines, country borders, and interior boundaries. City populations are plotted as semitransparent circles with radii scaled by the square root of population using `d3.scaleSqrt`. The visualization uses React hooks to load world atlas TopoJSON data and a CSV of global cities, converting them into GeoJSON features via `topojson.feature` and `topojson.mesh`. D3’s `geoNaturalEarth1` projection and `geoPath` render the SVG shapes.

AI-generated description

Line Chart