Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circles on a Map

Public visualization

Viewing a saved revision (read-only)

8a9fbac2b01347e49696c9f4550739ae

Fork of Circles on a Map

0 stars0🌍 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.