Skip to main content
100%

Circles on a map

✓ Published2🌍 Public
SSiddhartha Gupta
Last edited Mar 22, 2020
Created on Mar 21, 2020
Forked from Circles on a map

This visualization displays world population data for 2018 using circles positioned at country centroids on a natural Earth projection map. Countries lacking data are tinted pink, while those with values appear gray with teal, semi-transparent circles scaled by square-root transformation. The map uses `d3.geoPath` and `d3.geoNaturalEarth1` for projection, and interactive zoom via D3's `zoom` event. Population figures are loaded from a CSV via `d3.csv`, joined to TopoJSON country shapes transformed with `topojson.feature`, and a custom legend illustrates circle size.

AI-generated description
MIT Licensed

Similar vizzes