Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE 7question 3 Line Chart

Public visualization

Viewing a saved revision (read-only)

597b9936ae194e0aa3cb45148adbffeb

Fork of Fork of ICE 7question 3 Line Chart

0 stars0🌍 Public
SSaiSreya1
Last edited Jul 3, 2022
Created on Jul 3, 2022

This line chart shows automobile sales in India from 1999 to 2012, with the x-axis representing years and the y-axis representing sales figures. The visualization uses d3.scaleTime and d3.scaleLinear to map data points, with d3.line generating the path and d3.axisBottom and d3.axisLeft creating labeled axes. Data is loaded from a GitHub-hosted CSV file via d3.csv, with sales and year fields parsed before rendering. The SVG chart includes gridlines, axis labels, and a title, all styled through CSS classes.

AI-generated description