Fork of Circles on a Map
✓ Published0🌍 Public
A world map visualization displays each country's 2018 population using semitransparent circles scaled by the square root of population, with a size legend and a color legend showing population ranges. Users can pan and zoom the map by applying d3.zoom, and hovering over a country reveals its exact population via a tooltip from a title element. The map is rendered with d3.geoNaturalEarth1 and d3.geoPath using TopoJSON data from the visionscarto-world-atlas, while population values are sourced from an Our World in Data CSV file.
AI-generated descriptionVisualizing 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