Skip to main content
100%

Fork of Circles on a Map

✓ Published0🌍 Public
Mmunpro2002
Last edited Jun 7, 2021
Created on Jun 7, 2021
Forked from Circles on a Map

This visualization shows global population for 2018 using circles on a natural Earth projection map, with circle area proportional to population and hover tooltips revealing country names and values. Users can pan and zoom the map. The code uses d3.geoNaturalEarth1, d3.geoPath, d3.geoCentroid, and d3.zoom, with population data from a CSV processed via d3.csv and country geometries from TopoJSON. A square-root size scale and a custom size legend with tick labels display the quantitative mapping.

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