🌍 Public
Viewing a saved revision (read-only)
7f0e40b31db34781b04113c7768cc5c1
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: