Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Line Chart

Public visualization

Fork of ICE 7 Line Chart

0 stars2🌍 Public
Nnagamaheswar
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE 7 Line Chart

This line chart shows annual car sales in the United States from 2010 to 2019, with years on the x-axis and the number of cars sold on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render an SVG path. Data is loaded from a CSV file via `d3.csv` and parsed with `d3.timeParse` to convert year strings into date objects. Grid lines are styled through tick marks, and the line itself is drawn in red with a custom CSS class.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed