Animate Transitions in D3 v4

Share this video with your friends

Send Tweet

D3 makes it easy to add meaningful animations to your data visualizations. Whether it’s fading in new items or tweening existing shapes to display new values, adding transitions is easy. This lesson shows you how to add animations while building on your existing knowledge of D3 selections.

~ 3 years ago

Hi there. What if I want to animate a background-color during chained width/height transitions? I want the color to start changing at the same time as the width and finish animating when the height transition finishes.