Area-Chart
✓ Published0🌍 Public
This area chart displays weekly Spotify listening totals from a CSV dataset, using a gradient-filled region beneath a smooth line to emphasize volume trends over time. Built with D3 v7, it employs `scaleLinear`, `axisBottom`, `axisLeft`, `d3Area` with `curveMonotoneX`, and a linear gradient for the fill. Axes are labeled, and the SVG rendering includes a title and tooltip-free interactive hover effects. The chart’s reusable `areaChart()` function supports configurable margins, labels, and data accessors, with data loaded via `d3.csv`.
AI-generated descriptionMIT Licensed