Line Chart
A line chart displays smoothed daily COVID-19 death counts over time for the top 50 countries, colored by data from the Johns Hopkins Coronavirus Dataset. It uses a logarithmic y-scale and a Gaussian kernel blur to smooth the time series. Hovering over a Voronoi overlay, generated with `d3.Delaunay`, highlights the nearest data point and illuminates the corresponding country’s line, while a tooltip shows the country, date, and approximate death total. The chart is built with React and D3 v5, rendering SVG paths via `d3.line` and axes with `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionLine chart of cases by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.
This variant shows values smoothed using a Gaussian kernel blur