Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of line chart section 3

Public visualization

Fork of Fork of line chart section 3

0 stars0🌍 Public
Bbhargavarathod
Last edited Mar 28, 2022
Created on Mar 28, 2022

A line chart displays car sales data from India across the years 2013–2021, with year on the x-axis and total sales on the y-axis. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render an SVG path with red strokes. Data is loaded via `csv` from a GitHub Gist, with parsed years and numeric population values. Grid lines and axis labels are styled through CSS classes applied to the SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed