Daily Coronavirus Deaths by Country
This visualization displays global coronavirus deaths over time by country, with each country represented as a line on a log-scaled y-axis. Hovering over any point triggers a tooltip showing the country name, total deaths, and date, while highlighting that country’s entire line. Built with React and D3 v5, it computes daily death numbers on the fly from cumulative totals in the Johns Hopkins dataset using d3.csv and d3.timeParse. Interaction is handled via a d3.Delaunay-based VoronoiOverlay that maps mouse position to nearest data points, with axes rendered using d3.axisBottom and d3.axisLeft.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.
This variant shows daily death numbers. These are derived on the fly by computing the daily difference of total death numbers provided by the dataset.