Points on Map Size
✓ Published1🌍 Public
This example visualizes the world's largest cities as proportional circles on a natural Earth projection, using a square-root size scale to encode population. The map is built with React and D3 v5, employing `geoNaturalEarth1` and `geoPath` to render land masses, graticules, and a sphere, while `geoGraticule` adds reference lines. City data originates from a CSV of world cities, loaded via D3's `csv` function, and the World Atlas TopoJSON supplies country boundaries. The SVG circles, styled with a teal fill and opacity, are positioned using the projection and sized based on population.
AI-generated descriptionA world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed