Skip to main content
100%

Area chart

✓ Published0🌍 Public
Ffouzanuddin
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows yearly car sales as a smooth area chart, with time on the x-axis and sales volume on the y-axis, including labeled axes and a title. The chart is rendered as an SVG using D3 v5, leveraging the `area` generator with a basis curve to create the filled shape. Data is loaded from a CSV file via `csv()`, with scales (`scaleTime`, `scaleLinear`) and axes (`axisBottom`, `axisLeft`) applied to map the values and draw the grid lines and labels.

AI-generated description
MIT Licensed

Similar vizzes