Line Chart for ice 7
✓ Published1🌍 Public
This example displays a line chart tracking car sales from 2001 to 2010, with the year on the x-axis and sales figures on the y-axis. It uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render the SVG path, with gridlines from tick sizes and labeled axes. The data is loaded via `csv` from a GitHub gist, and the blue line emphasizes the sales trend over time.
AI-generated descriptionMIT Licensed