Animate d3 chart