🌍 Public
Viewing a saved revision (read-only)
b7ad56b7e4ca407bbad5c65dc8b12bbc
Area Chart Activity 8
This area chart visualizes the cost of sales from 2000 to 2013, with time on the x-axis and cost on the y-axis. The chart uses D3 v5’s `scaleTime` and `scaleLinear` for axes, and `line` with `curveBasis` for the smoothed line, while `area` fills the region beneath it in light green. Data is loaded from a CSV file via D3’s `csv` function, and the SVG output includes gridlines, red tick labels, and orange axis labels.
AI-generated descriptionArea chart Example: