🌍 Public
Viewing a saved revision (read-only)
52628c033b4346d299ca4f3e09cf75e9
Visualizing Population Centers
This visualization displays world population density through colored contour layers on a Natural Earth projection map. City population data from the Simplemaps World Cities Database is weighted to compute density contours using `d3.contourDensity`. Colors interpolate between `interpolateCubehelixDefault` and `interpolateReds` based on density values, rendered via `d3.geoPath` with land clipping. The map supports zooming through `d3.zoom` and includes city labels for populations above seven million.
AI-generated descriptionA world map showing cities.
See also:
- Simplemaps: World Cities Database
- Wikipedia: Toggle the table of contents Geographic coordinate system
- d3-geo: projection(point)
MIT Licensed