Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart Template

Public visualization

Viewing a saved revision (read-only)

8569ce9024ab4fbab3f5cb465b1766e9

Line Chart Template

0 stars1🌍 Public
LLex
Last edited May 13, 2020
Created on Mar 17, 2020

This example plots daily COVID-19 case counts in Hubei province over time as a smooth, maroon line. The chart uses a time-scaled x-axis for dates and a linear y-axis for case numbers, with gridlines and labeled axes for clarity. Built with D3 v5, it loads data from a CSV file using `d3.csv`, scales it with `scaleTime` and `scaleLinear`, and renders the line via the `d3.line` generator with a `curveBasis` interpolation. The visualization is drawn as SVG elements, including axes, a title, and the line path.

AI-generated description