🌍 Public
Viewing a saved revision (read-only)
658e1a16ef2647a38af517e5a235b91d
Assignment 2 Question 2(a)
This area chart displays mobile phone costs over time, with monthly data points connected by a smooth curve and the region beneath the curve filled in gray. The visualization uses D3 v5’s `scaleTime` and `scaleLinear` for axes, `line` and `area` generators with `curveBasis` for smoothing, and parses date strings from a remote CSV file using `d3.timeParse`. Axis labels and ticks are styled via SVG elements and CSS.
AI-generated descriptionDisplaying Area Chart