Skip to main content
100%

Line Chart Log Y Axis

✓ Published1🌍 Public
OOleg Zhernovoy
Last edited Dec 17, 2022
Created on Dec 17, 2022

This line chart displays global COVID-19 death totals over time, using a logarithmic y-axis to make early exponential growth visible while accommodating later high values. Built with React and D3 v7, it uses `d3.scaleLog` for the y-scale, `d3.scaleTime` for dates, and `d3.line` for the path. Data comes from the CSSE COVID-19 time series CSV, aggregated by summing daily deaths across all countries. The chart includes gridlines via `d3.axisBottom` and `d3.axisLeft`, with tick labels formatted using "~s" notation.

AI-generated description
MIT Licensed

Similar vizzes