Circles on a Map
✓ Published0🌍 Public
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 descriptionD3 course follow along.
MIT Licensed