Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Fork of Line Chart

0 stars1🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from Line Chart

This line chart visualizes US automotive sales from 2005 to 2022, displaying annual sales figures over time. The chart uses D3 v5’s `scaleTime` for the x-axis, `scaleLinear` for the y-axis, and a `line` generator to render the SVG path. Axes are drawn with `axisBottom` and `axisLeft`, while gridlines are created via tick sizing. Data is loaded as CSV from a GitHub gist, with sales values parsed as numbers and years as Date objects.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed