block by mbostock 5d8039fb983a29e2ad49

Named Transitions

Full Screen

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!)

index.html