Animated tweening function examples with d3.js