🌍 Public
Viewing a saved revision (read-only)
c8d754a4b3fa4e1aacb8f4a6b9c3b3d2
Area Chart Activity 8
This area chart visualizes the cost of sales from 2000 to 2013, with a smooth, curved line tracing the trend and a light green fill beneath it. Built with D3 v5 and rendered as an SVG, the visualization uses `scaleTime` and `scaleLinear` for the axes, with `axisLeft` and `axisBottom` providing tick marks and labels. The smooth line and area are generated via `line()` and `area()` with `curveBasis` for interpolation. It loads its data from an external CSV file, parsing the year values as dates and cost as numbers.
AI-generated descriptionexample of Area chart