Area Chart Activity 8
✓ Published0🌍 Public
This area chart displays the cost of sales from 2000 to 2013, with time on the x-axis and cost on the y-axis. The visualization renders a smooth (curveBasis) line and filled area in SVG, using D3 v5 APIs including scaleTime, scaleLinear, axisBottom, axisLeft, line, and area. Data is loaded from a CSV file via d3.csv and parsed with Date. Axis labels are styled with orange text and red tick values.
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