🌍 Public
Viewing a saved revision (read-only)
658c2b292b9846a8916be74e4af3a334
Area Chart Activity 8
This area chart displays the cost of sales from 2000 to 2013. The visualization uses D3 v5 to load CSV data and render an SVG with smoothed lines and a filled area beneath the curve. It employs `scaleTime` and `scaleLinear` for axes, `area` and `line` generators with `curveBasis`, and custom tick formatting via `format`. The chart includes labeled axes, gridlines, and a styled title.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.