🌍 Public
Viewing a saved revision (read-only)
54b1d680dcb44911a778ef6fee345e0b
linechart -Activity-8-3
This line chart visualizes the cost of sales from 2000 to 2013, using a light green stroke and red axis labels. The SVG is created with D3 v7, using `scaleBand` for the year axis and `scaleLinear` for cost, with data loaded from a local `data.csv` file. The chart includes labeled axes for "Year" and "cost," and the line path is drawn with `d3.line` and a bandwidth offset.
AI-generated descriptionA demonstration of how to start using D3 version 6.