Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
Yyakupermurat
Last edited Jun 5, 2020
Created on Jun 5, 2020
Forked from Circles on a Map

This visualization uses proportional circles to show each country’s population, with circle area scaled by the 2018 population data from a CSV file. The map renders with `d3.geoNaturalEarth1` projection and `d3.geoPath`, while a square-root scale (`d3.scaleSqrt`) determines circle radii. Users can pan and zoom via `d3.zoom`, and hovering a country reveals its name and population in a tooltip. A color legend and size legend are built with reusable D3 functions, and the map data comes from the visionscarto world atlas TopoJSON.

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