🌍 Public
Viewing a saved revision (read-only)
8fdf4284892f4d148fa8ced5d1582edf
Assignment 2 - Area Chart
The chart displays household monthly expenses as a blue area chart with a line overlay, showing spending trends across months on a time-series axis. It uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, `area`, and `curveBasis` to generate the smoothed curve and filled region. The SVG rendering includes styled gridlines, axis labels, and a title, with data loaded from a remote CSV file containing date and spending 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.