Fork of Circles on a Map
This visualization displays country populations as scaled circles on a natural Earth projection map, with each circle’s area representing the 2018 population data. Hovering reveals country names and exact population values, while the map supports pan and zoom. The implementation uses d3.geoPath for map rendering, d3.scaleSqrt for circle sizing, d3.zoom for interaction, and TopoJSON data from the visionscarto-world-atlas. Two legends—a color legend using d3.scaleOrdinal with schemeSpectral and a size legend—explain the encoding. Population data comes from a CSV file, preprocessed to extract per-country figures.
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.