🌍 Public
Viewing a saved revision (read-only)
c69aca778b544d079154af4d809c67f3
ice07-areachart
This area chart visualizes total sales by product category from a retailer CSV file, loading data via `d3.csv` with `d3.autoType`. It aggregates sales using `d3.rollups` and `d3.sum`, then maps categories to the x-axis with `d3.scalePoint` and sales to a linear y-axis with `d3.scaleLinear`. The graphic uses `d3.area` to create the filled region and overlays a `d3.line` path for clarity, with axes rendered by `d3.axisBottom` and `d3.axisLeft` as SVG elements.
AI-generated description