I noticed that if the value of the diagram exceeds 90 --- the whole wave block shunts / animates - I'm not sure what causes this. Can anyone figure this out?
// jug 0
http://jsfiddle.net/xpb0hsey/1/

// jug 1
http://jsfiddle.net/xpb0hsey/2/

older chart that doesn't seem to have a problem - jsfiddle.net/0ht35rpb/166
a possible error in the code is in
fillPercent looks stable at <0.9 - but when it reaches 1 - it triggers a shunt in the entire wave clip.
waveGroup.attr('transform','translate('+waveGroupXPosition+','+waveRiseScale(fillPercent)+')');
user7910704
source
share