🌍 Public
Viewing a saved revision (read-only)
5de4b275d315409688446fb7d8cd71f5
Circles on a Map
This visualization displays population data on a world map using circles sized by a square root scale. The map is rendered with d3.geoPath and a Natural Earth projection, with circles positioned at country centroids via d3.geoCentroid. A size legend and color legend are added using custom d3 modules. The code loads CSV population data and TopoJSON world boundaries, processing them with Promise.all to combine the datasets.
AI-generated description