#Utrecht2024 TASK: Voronoi and Tooltips and Axes (Solution)
• Draft1🔗 Unlisted
This visualization displays the relationship between GDP per capita, life expectancy, and population for countries in 2007. It uses a scatter plot with circles scaled by population, colored by continent, and labeled via interactive tooltips on hover. The implementation leverages D3’s `scaleLinear`, `scaleSqrt`, and `scaleOrdinal` for scaling, along with `Delaunay.from` and its `voronoi` method to create Voronoi regions that capture mouse movements and highlight the nearest data point.
AI-generated descriptionMIT Licensed