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
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Line Chart

This fork of a D3 line chart visualizes annual US auto sales from 2005 to 2022. The SVG chart plots sales values against time, with a red line connecting yearly data points and labeled axes for Year and Sales. Using d3.csv, the code loads data from a GitHub gist, then applies d3.scaleTime and d3.scaleLinear for scales, d3.axisBottom and d3.axisLeft for axes, and d3.line to generate the path. The chart includes grid lines, axis labels, and a title.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed