Fork of ICE 7 Area Chart
✓ Published0🌍 Public
This example visualizes car sales in India from 2009 to 2019 using a combined line and area chart. The line traces annual sales trends with a smooth curve, while the orange area underneath emphasizes the magnitude of sales over time. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, and `line` with `area` generators that employ `curveBasis` for smoothing. Data is loaded from a CSV file via `d3.csv`, and the SVG is styled with custom CSS classes for ticks, labels, and paths.
AI-generated descriptioncombined line and area charts
MIT Licensed