Circles on a Map
✓ Published0🌍 Public
This visualization shows world population by country using proportional circles on a natural Earth projection map, with circle area corresponding to 2018 population data from a UN dataset. Users can pan and zoom, while hovering reveals a country’s name and population. The code uses `d3.geoPath` with `topojson` for map features, `d3.scaleSqrt` for circle sizing, and `d3.zoom` for interaction. A size legend displays tick marks, and a color legend is also implemented, with SVG rendering throughout.
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