🌍 Public
Viewing a saved revision (read-only)
2d68924a5045428ba9a39265f038fae5
Fork of ICE 7 Line Chart
This example visualizes the sales of cars in India from 2009 to 2019 using a line chart drawn with SVG. The chart displays a single time-series line, with the x-axis representing the year and the y-axis showing the total sales figures, both styled with a red theme. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` functions to generate the plot, reading data from a CSV file hosted on GitHub. Grid lines and axis labels are styled using CSS, and the line is highlighted with a 4-pixel-wide stroke.
AI-generated description