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
VVaishnavi6199
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This line chart displays US auto sales from 2005 to 2022, plotting units sold over time. It uses d3.scaleTime, d3.scaleLinear, d3.axisBottom, and d3.axisLeft to render the axes, while d3.line generates the red path. Data loads from a CSV via d3.csv, with dates parsed as Date objects. The visualization appends SVG elements for the title, axes, and line, using margins and tick marks with grid lines for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed