Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Viewing a saved revision (read-only)

ca2d6ca5b4254aeb9a4259f2f22dec48

Fork of Line Chart

0 stars11🌍 Public
NNikhilMakkena
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This example displays a line chart of U.S. cancer cases from 2009 to 2022, with the year on the x-axis and case counts on the y-axis. It loads CSV data from a GitHub gist using `d3.csv`, parses the values, and renders the chart as an SVG with `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and a `d3.line` path generator. The chart includes grid lines, axis labels, and a title, all styled via CSS.

AI-generated description