Fork of Interactive Sparkline
✓ Published0🌍 Public
This interactive sparkline charts weekly NPM download counts for the d3 package, as fetched from a remote JSON data source. The visualization displays a purple area chart with a bold line, and hovering over the chart reveals a vertical guide and a large text label showing the exact weekly total and date range. The implementation uses the d3 library, specifically `scaleTime`, `scaleLinear`, `line`, `area`, and `bisector`, along with `flatRollup` and `sum` to aggregate daily data into weekly buckets.
AI-generated descriptionA reproduction of the interactive sparkline for weekly downloads of NPM packages.
MIT Licensed