Skip to main content
100%

Area Chart Activity 8

✓ Published6🌍 Public
Iindushashi.g@gmail.com
Last edited Jul 3, 2023
Created on Jul 2, 2023
Forked from D3 Starter

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 description

example of Area chart

MIT Licensed

Similar vizzes