Skip to main content
100%

Circles on a Map

✓ Published1🌍 Public
Pputrafandy
Last edited Dec 9, 2020
Created on Dec 9, 2020
Forked from Circles on a Map

This visualization displays the 2018 population of countries using circles positioned on a natural Earth projection map. Circle area encodes population magnitude, with colors distinguishing countries that have data from those missing it. A size legend and color legend explain the encoding. Hovering reveals country names and population values, while pan and zoom enable exploration. The code uses d3.geoPath, d3.geoCentroid, d3.scaleSqrt, and d3.zoom, rendering with SVG. Data merges a CSV of population statistics with TopoJSON world geometry (50m resolution) loaded via d3.json and processed with topojson.feature.

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