Skip to main content
100%

Area Chart

✓ Published1🌍 Public
Ppavankalyan1507
Last edited Mar 27, 2022
Created on Mar 27, 2022

This area chart visualizes car sales in India from 2009 to 2019. Using D3 v5, it renders an SVG with a smoothed line and a pink filled area beneath it, showing the sales trend over time. The code loads CSV data, parses dates, and uses `d3.scaleTime` and `d3.scaleLinear` for the axes. It employs `d3.line`, `d3.area`, and `d3.curveBasis` to generate the paths, with styled tick marks and axis labels from `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes