Circles on a Map
This example visualizes the population of each country using circle markers overlaid on a natural Earth projection map. The area of each circle is proportional to the country's population, allowing for quick comparison. Users can pan and zoom the map, and hovering over a country reveals its name and population, with missing data shown in red. The implementation uses `d3.geoPath` and `d3.geoNaturalEarth1` for the map projection, `d3.scaleSqrt` for sizing, and `d3.zoom` for interaction. Population data comes from a UN dataset, with map outlines from the VisionsCarto 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.