Skip to main content
100%

ICE - 7 Area Chart for Car Sales (11508271)

✓ Published0🌍 Public
Aabdulmoin9624
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Hello VizHub

This chart depicts annual car sales in the USA from 2010 to 2020 using a combined line and area chart. The visualization employs D3 v5 to render SVG paths for both the smooth line and the filled area beneath it, using a basis curve for interpolation. The x-axis, formatted as dates, is scaled with `scaleTime`, while the y-axis uses `scaleLinear` with compact tick labels. Data is loaded from a remote CSV via `csv()`, with sales values and dates parsed before rendering. Axis labels are customized with distinct colors and fonts, and grid lines are drawn with tick marks.

AI-generated description

This is a combined chart for the line and area.

MIT Licensed

Similar vizzes