Skip to main content
100%

Fork of Line Chart

✓ Published0🌍 Public
SSnapika
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This example visualizes US auto sales from 2005 to 2022 as a line chart, using a red path to show sales trends over time. The chart is rendered as an SVG with d3.line, d3.scaleTime for the year axis, and d3.scaleLinear for the sales axis, both with axis labels. Grid lines are drawn using tickSize, and the title is placed above the plot. Data is loaded via d3.csv from a gist, with values converted to numbers before rendering.

AI-generated description
MIT Licensed

Similar vizzes