Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Corona Virus LineChart with Margin

Public visualization

Corona Virus LineChart with Margin

0 stars1🌍 Public
SShanmukh
Last edited May 21, 2024
Created on May 21, 2024

This example displays a global COVID-19 death toll line chart, highlighting the moment cumulative deaths reach six million with horizontal and vertical marker lines. Built with React and D3 v5, it uses `d3.scaleTime` and `d3.scaleLinear` to map dates and death counts, while `d3.line` generates the SVG path. Data is fetched and parsed from a CSV URL via `d3.csv` and `d3.timeParse`.

AI-generated description

Smiley face implementation with React & D3, using a React component.

Comments

Sign in to join the discussion.

MIT Licensed