Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of LineChart

Public visualization

Viewing a saved revision (read-only)

5130b2f532bb49629e6a6251592e873a

Fork of LineChart

0 stars1🌍 Public
Aavvarijayakrishna99@gmail.com
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from LineChart

This chart displays annual US auto sales from 2005 to 2022 as a red line over time. The code loads CSV data via d3.csv, scales the x-axis with d3.scaleTime and the y-axis with d3.scaleLinear, and renders the line using d3.line. Axis labels and gridlines are added with d3.axisBottom and d3.axisLeft, with a rotated y-axis label. The visualization uses SVG rendering within a fixed 960x500 viewport.

AI-generated description