Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
Iindushashi.g@gmail.com
Last edited Jul 2, 2023
Created on Jul 2, 2023

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 description

Area chart Example:

MIT Licensed

Similar vizzes