Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
HHe Jianfeng
Last edited Apr 15, 2021
Created on Apr 15, 2021
Forked from Choropleth Map

This visualization displays global population estimates for 2018 as proportional circles positioned at country centroids on a natural Earth projection map. Country boundaries are rendered as paths using d3.geoPath, while circle radii scale with population via d3.scaleSqrt. Two legends—a size legend and a color legend—communicate the quantitative mapping, with colors assigned through d3.scaleOrdinal. The map supports zooming through d3.zoom, and data comes from United Nations population estimates loaded as CSV and TopoJSON, processed with topojson.feature.

AI-generated description
MIT Licensed

Similar vizzes