🌍 Public
Viewing a saved revision (read-only)
11eb2932bb1c49d7a1a102c0f053e297
Area Chart
This area chart visualizes SalesCost from 2017 to 2023 using D3 v5. The chart displays a smoothed line and a light green filled area beneath it, with orange axis labels and red tick text. It uses `d3.scaleTime` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.area` with `d3.curveBasis` to create the smooth area path. The data is loaded from a CSV file hosted on GitHub Gist, parsed with `d3.csv`, and rendered as SVG.
AI-generated descriptionexample of Area chart