Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)

Public visualization

Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)

0 stars0🌍 Public
EEdward Chung
Last edited Nov 2, 2023
Created on Nov 2, 2023

A multi-line chart tracks cumulative COVID-19 deaths over time for each country, using a logarithmic y-axis to accommodate wide numeric ranges. Hovering over any point triggers a Voronoi overlay, powered by `d3.Delaunay`, to highlight the nearest country’s full trajectory and display a tooltip with its death count and date. The visualization is built with React and D3 v5, rendering SVG paths via `d3.line` and scales from `d3.scaleTime` and `d3.scaleLog`. Data comes from the Johns Hopkins Coronavirus dataset.

AI-generated description

Line chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.

Hover to see details and illuminate lines.

Comments

Sign in to join the discussion.

MIT Licensed