Circles on a Map
✓ Published0🌍 Public
This example visualizes population by country using circles on a world map, with circle area proportional to 2018 population data. Users can pan and zoom the map, and hover over countries to see detailed figures. The visualization uses d3.geoNaturalEarth1 projection with d3.geoPath for map outlines, d3.scaleSqrt for circle sizing, and a custom size legend. Population data is loaded from a CSV file, while country boundaries come from TopoJSON, and map interactions are enabled through d3.zoom.
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