Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
MMartin Palanca
Last edited Feb 12, 2020
Created on Feb 12, 2020
Forked from Circles on a Map

This visualization depicts global population data for 2018, using proportional circles on a natural Earth projection map. Country boundaries are rendered as SVG paths via `d3.geoPath`, while circle areas encode population using `d3.scaleSqrt`. Pan and zoom are enabled through a custom `zoom` event handler. Data is loaded from a CSV file and a TopoJSON world atlas, merged by country code. A size legend clarifies the scaling, and hovering on a country reveals its name and population via a tooltip.

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