Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars0🌍 Public
SSRI RAM REDDY KOTERU
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Line Chart

This line chart visualizes annual US automotive sales from 2005 to 2022, using a red path to show the sales trend over time. The visualization loads CSV data from a GitHub gist and renders it as an SVG using d3.scaleTime and d3.scaleLinear for the axes, with d3.axisBottom and d3.axisLeft providing tick marks. The chart includes labeled axes, gridlines, and a title, with data parsed to convert Year into Date objects and Sales into numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed