Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
AAbdouEnsaj
Last edited Jul 28, 2022
Created on Jul 28, 2022

This example uses a natural Earth projection to visualize population by country with scaled circles. The area of each circle corresponds to the country’s 2018 population, rendered as SVG paths and circles via `d3.geoPath` and `d3.geoNaturalEarth1`. Users can pan and zoom with `d3.zoom`, hover for country details, and read a square-root size legend built from `d3.scaleSqrt`. Data combines UN population CSV values with TopoJSON world geometry through `d3.csv` and `d3.json`.

AI-generated description

Visualizing population by country using circles on a map! The area of each circle corresponds to the population of the country it represents. You can also pan & zoom, and hover over each country for more information.

MIT Licensed

Similar vizzes