π Public
Viewing a saved revision (read-only)
1886c1efcb3343c2a1aaa31f69c2bcf7
Fork of Fork of Line Chart-KiranV
This example shows US auto sales by brand from 2003 to 2018 as a single blue line chart, with year on the x-axis and sales volume on the y-axis. The chart includes axis labels, gridlines, and a green title. The code loads CSV data from a GitHub gist and uses d3.csv, d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.line to render the SVG visualization. The dataset is mapped to date objects and numeric sales values before being passed to the render function.
AI-generated description