🌍 Public
Viewing a saved revision (read-only)
c87dca285ddd4e8b82db49a19ea43474
Fork of Task 2 line
This fork of Task 2 uses D3 v7 to render a multi-line chart of monthly household expenses across five categories—housing, food, transportation, utilities, and entertainment—for a full year. It uses `d3.csv` to load the data, `d3.scalePoint` and `d3.scaleLinear` for the axes, and `d3.line` to generate each category’s path. A color legend is built with `d3.scaleOrdinal` and `d3.schemeCategory10`. The SVG output includes labeled axes and a legend on the right side.
AI-generated description