Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7question 3 Line Chart

Public visualization

Fork of ICE 7question 3 Line Chart

0 stars0🌍 Public
RRamakanth771
Last edited Mar 27, 2022
Created on Mar 27, 2022

This line chart visualizes automobile sales in India from 1999 to 2012, plotting yearly electronic sales figures as a single blue line. The SVG rendering uses d3.scaleTime for the year axis and d3.scaleLinear for sales values, with axes generated via d3.axisBottom and d3.axisLeft. Data is loaded asynchronously from a GitHub-hosted CSV file using d3.csv, then parsed into date and numeric values before being passed to the render function. The chart includes labeled axes, a title, and a grid-like tick structure styled through CSS classes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed