🌍 Public
Viewing a saved revision (read-only)
a44411bc725a4f5cbcfabbcacb7a857d
Area chart
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