🌍 Public
Viewing a saved revision (read-only)
025da630c6da477892eb6fc3111f970e
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.