Skip to main content
100%

Question2

✓ Published0🌍 Public
Tthakurnikhitha4@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Question1

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 description
MIT Licensed

Similar vizzes