Skip to main content
100%

Coronavirus Deaths Over Time by Country with Voronoi Overlay

✓ Published1🌍 Public
MMichael Bruno
Last edited Mar 5, 2023
Created on Mar 1, 2023

This example visualizes cumulative coronavirus deaths over time for multiple countries using a log-scaled line chart. A Voronoi overlay, generated with `d3.Delaunay` and `d3.voronoi`, makes each line segment hoverable, highlighting the active country’s path in black. The chart uses `scaleTime` and `scaleLog` for axes, with data from the CSSE COVID-19 time series. React manages the hover state, while SVG renders the paths and overlay.

AI-generated description
MIT Licensed

Similar vizzes