Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart for ICE 7

Public visualization

Viewing a saved revision (read-only)

1bd0cab1b6a54ee489daee5d911d260d

Fork of Area Chart for ICE 7

0 stars0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example displays a smooth, curved area chart showing yearly car sales over time. It uses D3.js v5 APIs including `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to render the path in an SVG. The data is loaded from a CSV file via `csv` from D3, with years parsed as dates. Axes, labels, and a title are generated using `axisLeft` and `axisBottom`, and the chart is styled with magenta fill.

AI-generated description