Fork of ICE 7 Area Chart
✓ Published0🌍 Public
This example visualizes the sales of cars in India from 2009 to 2019 as a combined line and area chart. The SVG rendering uses d3.scaleTime and d3.scaleLinear to map years and sales values, while d3.line and d3.area with curveBasis generate the smooth line and shaded region. The data is loaded from a CSV file via d3.csv and parsed with d3.timeParse. The chart includes labeled axes with gridlines, and the line and area are styled distinctly to highlight the trend over time.
AI-generated descriptioncombined line and area charts
MIT Licensed