Skip to main content
100%

#Utrecht2024 TASK: Voronoi and Tooltips and Axes (Solution)

• Draft1🔗 Unlisted
MMatthias Stahl
Last edited Jul 2, 2024
Created on Jul 1, 2024

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 description
MIT Licensed

Similar vizzes