All examples By author By category About

mbostock

Named Transitions

D3 3.5 allows concurrent transitions on elements through the use of named transitions. Transitions of the same name are still exclusive, but by giving transitions different names — such as “twizzle” and “plonk” — transitions can run at the same time on the same element without interference.

(You could do this before by manually creating transition locks or using nested elements, but this new approach is much cleaner!)