Fork of Circles on a Map
This visualization displays world population by country using proportional circles on a natural Earth projection map. The area of each circle corresponds to the country’s 2018 population, with data sourced from a UN CSV and a 50m world atlas TopoJSON. The visualization supports pan and zoom interactions, and hovering over a country reveals its name and population. The code uses d3.geoPath for map rendering, d3.scaleSqrt for circle sizing, and custom sizeLegend and colorLegend components to create legends, with SVG as the rendering format.
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.