Area Chart Activity 8
✓ Published0🌍 Public
This area chart displays the cost of sales from 2000 to 2013, with a green filled region beneath a black line. The visualization uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, `line`, `area`, and `curveBasis` to generate the SVG elements. Data is loaded from a remote CSV file, with year values parsed as dates and cost values converted to numbers. The chart includes red tick labels, orange axis labels, and grid lines.
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.
MIT Licensed