Activity_8-Task_3
✓ Published0🌍 Public
This line chart displays the cost of sales from 2000 to 2013, using a light green stroke to trace the trend over time. The chart, rendered as an SVG, uses a band scale for the x-axis (years) and a linear scale for the y-axis (cost), with data loaded from a local CSV file. The code leverages D3 v7 APIs including `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` to construct the visualization, with red axis labels for clarity.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed