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
KKirsten Lund
Last edited Feb 15, 2021
Created on Feb 15, 2021

This fork of a line chart visualizes cumulative coronavirus deaths by country over time, using a log-scaled y-axis to accommodate wide variation in death tolls. Hovering over any point triggers a Voronoi overlay, powered by `d3.Delaunay`, to highlight the nearest data point, illuminate the corresponding country’s line, and display a tooltip with the date, country, and death count. The chart is built with React and D3 v5, rendering SVG paths from the Johns Hopkins COVID-19 dataset, with axes generated via `d3.axisBottom` and `d3.axisLeft`.

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