Skip to main content
100%

Fork of Fork of Area Chart

✓ Published0🌍 Public
PPrathyusha0304
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Fork of Area Chart

This example visualizes 15 years of car sales as a combined line and area chart, with a smooth curve showing sales trends over time and a grey filled region beneath the line. It uses D3 v5 APIs including `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, and `d3.area` with a `curveBasis` interpolation to render the SVG paths. The data comes from a CSV file parsed with `d3.csv` and `d3.timeParse`, with axes labeled and gridlines generated via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes