Circles on a map
✓ Published0🌍 Public
This example visualizes the global spread of COVID-19 in early 2020 using a natural Earth projection map. Circles overlaid on each country represent population size, with a legend showing the scale. The visualization also plots the spread of the virus from country to country based on CSV data of transmission events. The code uses D3 v5 with `geoNaturalEarth1`, `geoPath`, `geoCentroid`, and `scaleSqrt` for the population-scaled circles. It loads TopoJSON for country boundaries, merges CSV data for coordinates, and supports zooming via `d3.zoom`.
AI-generated descriptionMIT Licensed