Fork of ICE 7 Area Chart
✓ Published1🌍 Public
A combined area and line chart visualizes motorcycle sales in India from 2012 to 2022, with the area fill in orange and a black line tracing the trend. The code uses d3.scaleTime and d3.scaleLinear for axes, d3.area and d3.line with curveBasis for smooth shapes, and d3.axisLeft and d3.axisBottom for gridlines. It loads CSV data from a gist with d3.csv, parses years via d3.timeParse, and renders to SVG.
AI-generated descriptioncombined line and area charts
MIT Licensed