Skip to main content
100%

City sizes on a Map

✓ Published1🌍 Public
LLove Wessman
Last edited Jan 27, 2022
Created on Jan 26, 2022
Forked from Points on a Map

This visualization displays global city populations using circles plotted on a world map, with dot radius scaled by the square root of population via d3.scaleSqrt. It uses d3.geoNaturalEarth1 projection and d3.geoPath to render landmasses, graticules, and country interiors. React manages component state, while d3.csv and d3.json load city data from a gist and world-atlas TopoJSON. Circle opacity and fill are styled via CSS, showing cities over 50,000 inhabitants.

AI-generated description

A world map showing country boundaries and city locations with populations of over 50 000

City data source: https://gist.github.com/curran/13d30e855d48cdd6f22acdf0afe27286

Spatial data source: https://unpkg.com/world-atlas@2.0.2/countries-50m.json

MIT Licensed

Similar vizzes