Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Deaths Over Time by Country with Voronoi Overlay

Public visualization

Viewing a saved revision (read-only)

8f41390f79b0496e9c0545d2a79dfc4f

Coronavirus Deaths Over Time by Country with Voronoi Overlay

0 stars1🌍 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