Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line chart car Sales

Public visualization

Fork of Line chart car Sales

0 stars1🌍 Public
Aajaysonu
Last edited Mar 30, 2023
Created on Mar 29, 2023

This visualization displays annual car sales from 2001 to 2008 as a line chart. The line plot uses a red, thick stroke to trace sales values over time, with green gridlines and burgundy tick labels. The chart is rendered as an SVG using D3 v5, with time-scaled x-axis and linear y-axis. Data is loaded from a CSV file via `d3.csv`, processed by converting year strings to `Date` objects, and mapped with `scaleTime` and `scaleLinear`. The line path is generated using `d3.line`, with axes created via `axisBottom` and `axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed