add d3 animation to header