Assignment 2 Question 2
This example shows a smooth area chart of expenditure versus age, drawn as an SVG in D3 v7. It loads a CSV dataset from a GitHub repository and renders it with a linear x-scale and y-scale. The code uses `d3.area()`, `d3.curveMonotoneX`, `d3.axisLeft`, and `d3.axisBottom` to generate the path and axes, with custom axis labels and a chart title.