Skip to main content
100%

ICE 7question 3 Line Chart

✓ Published0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This line chart shows automobile sales in India from 1999 to 2012, with the x-axis mapping years and the y-axis representing sales figures. The visualization uses d3.csv to load data from a GitHub-hosted CSV file, then applies d3.scaleTime and d3.scaleLinear to create the axes, with d3.axisBottom and d3.axisLeft for tick marks. A d3.line generator creates the path, which is rendered as an SVG stroke with a blue color. The chart includes custom axis labels and a title, with margins defined to position the plot within the 960×500 SVG viewport.

AI-generated description
MIT Licensed

Similar vizzes