ICE - 7 Area Chart for Car Sales
✓ Published2🌍 Public
A smooth area chart tracks Canadian car sales over time, emphasizing the overall trend with a filled curve beneath a distinct line. The visualization uses React with D3 v5, drawing SVG elements via the `area` and `line` generators with `curveBasis` for smoothing. Data is parsed from a CSV using `d3.csv` and `d3.timeParse`, with time and linear scales (`scaleTime`, `scaleLinear`) mapping years to sales values. Axis labels and gridlines are added through `axisBottom` and `axisLeft`, while the black fill and stroke highlight the data's shape.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed