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 stars1🌍 Public
Nnagamaheswar
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE 7 Line Chart

This line chart displays car sales in India from 2009 to 2019, with the x-axis representing years and the y-axis showing sales volume. The visualization uses d3.scaleTime and d3.scaleLinear to map the data, while d3.axisBottom and d3.axisLeft generate the labeled axes with grid lines. A d3.line generator creates the red path connecting data points, with the data loaded from a CSV file via d3.csv and parsed using d3.timeParse. The SVG output is styled with CSS, applying red coloring to text, axes, and the line stroke against a dark background.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed