Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Circles on a Map

Public visualization

Viewing a saved revision (read-only)

5de4b275d315409688446fb7d8cd71f5

Circles on a Map

0 stars1🌍 Public
Ffahmijaafar
Last edited Dec 9, 2019
Created on Dec 9, 2019
Forked from 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