Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This area chart visualizes the cost of sales from 2000 to 2013, plotting yearly values as a smooth curved line with a light green filled region beneath it. The chart uses D3 v5 with SVG rendering, employing `scaleTime` for the x-axis, `scaleLinear` for the y-axis, and `area()` with `curveBasis` to generate the filled path. Data is loaded from a CSV file via `d3.csv`, with year values parsed as dates and costs converted to numbers. Axis labels and tick formatting are customized, including red tick text and an orange axis label.

AI-generated description

example of Area chart

MIT Licensed

Similar vizzes