Skip to main content
100%

Fork of Circles on a Map

✓ Published0🌍 Public
Vvivianaaai@qq.com
Last edited Mar 18, 2023
Created on Mar 18, 2023
Forked from Circles on a Map

This visualization displays global population by country using circles sized with a square-root scale, projected onto a natural Earth map with pan and zoom. Hovering reveals country names and population values, while missing data appears in red. Built with D3 v5, it uses `geoPath`, `scaleSqrt`, and `geoNaturalEarth1` for map generation, and a custom size legend for circle scaling. Population data comes from a UN CSV file, joined with TopoJSON country geometries.

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