Question2
✓ Published0🌍 Public
The visualization compares units sold in 2019 versus 2020 across multiple item categories using two filled area paths rendered in SVG. D3.js v7 fetches a CSV dataset via `fetch` and `d3.csvParse`, then constructs a band scale for the x-axis and a linear scale for the y-axis. The areas are generated with `d3.area()`, colored using `d3.scaleOrdinal` with `d3.schemeCategory10`, and accompanied by an HTML legend with color swatches. Axis titles and rotated tick labels clarify the data mapping.
AI-generated descriptionMIT Licensed