Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Fork of Line Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed