Step 3 Line Chart
✓ Published1🌍 Public
This line chart visualizes sales figures from 2011 to 2021, with the x-axis mapping years as dates and the y-axis representing sales values. The chart uses D3 v5's `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generator to render an SVG path, with data loaded via `d3.csv` from a GitHub gist. Gridlines are created through axis tick sizing, and a red stroke highlights the trend line.
AI-generated descriptionMIT Licensed