All examples By author By category About

nbremer

Text on an Arc - Animate from a Wavy line to an Arc

This is an example from my blog on Placing Texts on Arcs with D3.js that shows that a transition between dissimilar paths (from a wavy line to an arc) can still be accomplished, but that it needs a pathTween function (taken from this example)

Another version shows how a transition between similar paths (both arcs) can be achieved in the default transition way

Other examples of text along a path from the same blog