🌍 Public
Viewing a saved revision (read-only)
c8003e28544443f4b10c7cf06bd70aa8
Fork of Area Chart
This fork of an area chart visualizes sales data from 1988 to 2006, combining a smooth line and a brown filled area beneath it to emphasize trends over time. The axes display year and sales values, formatted with `d3.format`. The code uses D3 v5 APIs including `csv` for data loading, `scaleTime` and `scaleLinear` for scales, and `line` alongside `area` generators with `curveBasis` for smoothing. The SVG output is styled with CSS, featuring a yellow background and labeled axes.
AI-generated descriptioncombined line and area charts