Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart

Public visualization

Viewing a saved revision (read-only)

c8c0cb0fd8c44ff98405d9d634433499

Fork of Line Chart

0 stars4🌍 Public
SSreejaBellamkonda
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, with years on the x-axis and sales figures on the y-axis. Using D3 v5, the code loads CSV data from a GitHub gist, parses the Year and Sales fields, and renders an SVG with d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.line. Axes include tick marks, labels, and a title. The line path appears in red with a 4-pixel stroke, while grid lines and a rotated y-axis label enhance readability.

AI-generated description