Question 4: Area Chart
✓ Published0🌍 Public
This area chart visualizes monthly revenue trends across multiple products, with each product represented as a colored filled region that can be hovered to adjust opacity. The chart uses D3 v7 to load CSV data via `d3.csv`, aggregates revenue by product and month using `d3.group` and `d3.rollup`, and renders the areas with `d3.area` alongside scaled point-based x-axes (`d3.scalePoint`) and linear y-axes (`d3.scaleLinear`). Interactive dots respond to mouse hover by increasing their radius, and gridlines provide reference for revenue values.
AI-generated descriptionMIT Licensed