Skip to main content
100%

25_Circle on a Map

✓ Published0🌍 Public
FFMajid-ops
Last edited Dec 23, 2020
Created on Dec 22, 2020
Forked from Choropleth Map

A world map displays population estimates for 2018 using circles sized by a square-root scale, positioned at each country’s geographic centroid via `d3.geoPath` and `geoCentroid`. The choropleth base distinguishes missing data in pink, while hover reveals country names and populations. Built with D3 v5, it layers a zoomable natural Earth projection, a color legend for categorical fills, and a size legend using `d3.scaleSqrt`, with data from UN population estimates and TopoJSON world atlas.

AI-generated description
MIT Licensed

Similar vizzes