ICE 7question 3 Line Chart
✓ Published2🌍 Public
This line chart visualizes automobile sales in India from 1999 to 2012, plotting electronic sales against yearly data. The chart uses d3.scaleTime for the x-axis and d3.scaleLinear for the y-axis, with axes generated via d3.axisBottom and d3.axisLeft. The line path is created using d3.line, rendered as an SVG within a React application. Data is loaded asynchronously from a GitHub-hosted CSV file via d3.csv, with values parsed and converted to Date objects before rendering. The visualization includes axis labels, a title, and gridlines styled through CSS.
AI-generated descriptionMIT Licensed