Skip to main content
Explore
Solutions
Bespoke Studio
Pricing
Quick Start
Demo
Log in
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Home
•
Fork Viz
Fork Viz
Create your own copy of this visualization.
Forking from
Interactive Sparkline
Title
*
Description
This interactive sparkline visualizes weekly NPM package download counts for the d3 library, using data fetched from a JSON URL. The chart displays an area and line graph, with a hover interaction that reveals a large numeric download count and a date range label. The implementation leverages d3 functions such as `scaleTime`, `scaleLinear`, `line`, `area`, `flatRollup`, `bisector`, and `pointer` to handle aggregation, scaling, and mouse tracking. The visualization updates dynamically as the mouse moves, highlighting the nearest data point with a circle and vertical line.
Visibility
Public
Private (only you), Pro
Unlisted (anyone with link)
Private work requires Pro.
Upgrade
Cancel
Fork Viz