Transition hacking by overwriting Date.now
, tricking d3.timer
into thinking it's whatever time we want. Beyond the obvious red flags of overwriting a browser global, this only really works for moving forward (each transition in a chain self-deletes once it hits t=1
). I would not recommend this.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js