Line Chart Activity 8 Task 3
✓ Published0🌍 Public
This example displays a line chart of annual sales costs from 2000 to 2013, with a light green stroke on an SVG canvas. The chart uses D3 v7’s `scaleBand` for the year axis and `scaleLinear` for the cost axis, drawing the line with `d3.line()`. Data is loaded from a CSV file via `d3.csv`, and axes are rendered using `d3.axisBottom` and `d3.axisLeft`. The visualization includes red axis labels and a centered title, highlighting cost fluctuations over time.
AI-generated descriptionTask 3 of Actiity 8. Demonstration of line chart.
MIT Licensed