🌍 Public
Viewing a saved revision (read-only)
9edb5f1d23644536a019e94f3949ef2b
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