Circles on a Map
✓ Published0🌍 Public
A world map visualizes population by country via teal circles, with circle area scaled to 2018 population data. Pan and zoom are enabled through the `d3.zoom` behavior. Hovering a country reveals details, while a custom size legend displays the population scale. The visualization uses the `d3.geoNaturalEarth1` projection, `d3.geoPath` for rendering country borders, and `d3.scaleSqrt` for circle sizing. Data merges UN CSV statistics with world atlas TopoJSON, rendered as SVG with CSS styling for hover effects.
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