🌍 Public
Viewing a saved revision (read-only)
f55f346c43264fc8af68e10723c49a12
Worldmap with cities
This example displays a world map using a Natural Earth projection, with the landmasses rendered as gray polygons and graticules overlaid. City locations are plotted as semi-transparent circles, with their radius scaled by the square root of each city's population. Built with React, the visualization uses D3.js modules `geoNaturalEarth1`, `geoPath`, and `geoGraticule` for the map projections and graticule, while `scaleSqrt` maps population values to circle sizes. City data is loaded from a CSV file, and world atlas geometries are fetched as TopoJSON, which is processed through `topojson` functions.
AI-generated description