block by d3noob 542817710537fa5b2e4d7d30cc7670a5

Looping a transition in v7

Full Screen

This is a demonstration of looping transition chaining using d3.js v7.

The circle moves from left to right and then back again so that it starts and ends in the same state and then we instruct the transition code to repeat itself.

This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 7 of d3.js.

index.html