Skip to main content
100%

Voronoi Overlay with Labels

✓ Published2🌍 Public
AAndrea Picciau
Last edited Nov 19, 2021
Created on Nov 7, 2021

This chart displays cumulative COVID-19 death counts over time for multiple countries, with a logarithmic y-axis. A Voronoi overlay (computed via `d3.Delaunay.from` and `voronoi.renderCell`) enables hover detection on any data point, highlighting the corresponding country's line and showing a tooltip with the exact date, death count, and country name. The SVG renders reactively, using `d3.scaleLog`, `d3.scaleTime`, and the `d3.line` generator, with data from the CSSE COVID-19 time series.

AI-generated description

Coronavirus line chart

MIT Licensed

Similar vizzes