Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area chart

Public visualization

Area chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed