scrollWatcher is a small library for scroll-based data-driven graphics (without any nasty scrolljacking). It sticks an element at a fixed position onscreen, and then provides the distance scrolled through its (much taller) parent as a percentage.
As seen on WSJ.com in How Fed Rates Move Markets and What ECB Stimulus Has Done. Or scroll down for a live example.
View on GitHub