Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart

Public visualization

Viewing a saved revision (read-only)

1c12837faf6242bdbfa7161745332c58

Fork of Area Chart

0 stars2🌍 Public
Ssudhamshu24
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Area Chart

The chart shows 15 years of car sales using a combined line and area chart. A black line traces sales over time, while a grey filled area beneath it emphasizes the trend, with axes labeled "Sales" and "Year." It uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, and `area` with `curveBasis` for smoothing. The SVG rendering loads CSV data from a remote gist, parses dates, and formats the y-axis tick labels with `format('.3s')`.

AI-generated description

combined line and area charts