Circles on a Map
This visualization uses the D3.js framework to display the global population of each country as a circle on a natural Earth projection map; the circle's area corresponds to the country's 2018 population, using a square-root scale for size. The map supports pan and zoom interactions via `d3.zoom`, and hovering over a country reveals its population and region via a tooltip. Countries lacking data are highlighted in red, and the visualization includes a color legend and a size legend built with SVG, with data sourced from a COVID-19 dataset and a TopoJSON world atlas.
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.