Skip to main content
100%

Fork of Area Chart

✓ Published1🌍 Public
NNaimisha-M
Last edited Jul 2, 2022
Created on Jul 1, 2022
Forked from ICE 7 Area Chart

This visualization presents annual car sales data as a colored area chart overlaid with a bold black line, using a smooth basis curve to connect data points. The chart includes labeled axes for year and sales, with the sales axis formatted using compact notation. Built with D3 v5, the code loads CSV data from a GitHub gist, parses dates, and renders the visualization as SVG using d3.line, d3.area, and d3.curveBasis. Axes are generated via d3.axisBottom and d3.axisLeft, with scales created using d3.scaleTime and d3.scaleLinear.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes