Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
Bbprokopowicz
Last edited Apr 6, 2020
Created on Apr 2, 2020
Forked from Choropleth Map

This visualization displays global population data for 2018 using proportional circles positioned at country centroids on a natural Earth projection. The map uses d3.geoPath and d3.geoCentroid to render countries and place scaled symbols, with d3.scaleSqrt determining circle radii. Hovering reveals country names and population values via SVG titles. Pan and zoom are enabled through d3.zoom, while a d3.scaleSqrt-based legend indicates population magnitudes. Data comes from a CSV file of UN population estimates joined with TopoJSON world geometry, rendered as SVG with color coding for missing values.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes