Skip to main content
100%

rakshi

✓ Published1🌍 Public
RRakshithaRao27
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Area Chart

This example visualizes electronic sales data from 2013 to 2021 using a combined line and area chart rendered as SVG. It plots yearly sales values on a time-scaled x-axis and a linear y-axis, with the line and area paths smoothed using `curveBasis`. The code uses d3.csv to load the data, `scaleTime` and `scaleLinear` for scales, and `axisLeft`/`axisBottom` for tick rendering, while custom CSS colors the line red and the area wheat.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes