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

This fork of a line chart visualizes US auto sales from 2005 to 2022 using D3 v5, rendering as an SVG. The chart plots annual sales figures, sourced from a CSV file loaded via D3’s `d3.csv`, showing a red line path generated by `d3.line()`. It employs `d3.scaleTime()` for the year axis and `d3.scaleLinear()` for sales, with axes and labels created via `d3.axisBottom()` and `d3.axisLeft()`. The visualization includes a title and styled grid lines, all configured within a fixed 960x500 SVG canvas.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed