linechart
✓ Published0🌍 Public
This line chart displays the cost of sales from 2000 to 2013, using a light green stroke with red axis labels and a centered title. The visualization uses D3 v7 to load CSV data via `d3.csv`, then applies `d3.scaleBand` and `d3.scaleLinear` for the axes. A `d3.line` path is drawn within an SVG, with axis labels added as text elements using `d3.axisBottom` and `d3.axisLeft`. The chart includes multiple data points for 2008, reflecting duplicate entries in the source data.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed