Fork of Circles on a Map
This visualization displays global population data for 2018 using proportional circles positioned over a natural Earth projection map. The area of each circle corresponds to a country’s population, and hovering over a country reveals its name and population count, while missing data appears in red. Pan and zoom interactions are enabled via d3.zoom. The map is rendered using SVG with d3.geoPath and topojson for world geometries, while population data is loaded from a CSV file. A size legend built with d3.scaleSqrt explains the circle scaling, and d3.schemeSpectral is used for the color legend.
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.