Skip to main content
100%

Circles on a Map

✓ Published1🌍 Public
PPhilRG
Last edited May 31, 2020
Created on May 17, 2020
Forked from Circles on a Map

This visualization displays global population data for 2018 using circles positioned on a natural Earth projection map. The area of each circle encodes a country’s population, and hovering reveals exact values alongside the country name, while pan and zoom controls allow exploration. The map is rendered as SVG using d3.geoPath with TopoJSON world data, while population values are loaded from a CSV. Circle sizes derive from a d3.scaleSqrt, and a custom legend communicates scaling. The example also includes a color legend component and employs d3.zoom for interactivity.

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