This example shows the use of the d3 transition library, particularly with regards to timing. Four boxes are displayed, each containing a circle of a different color. One of them is open and the others are closed. Click on a box to open it.
Three separate transitions are initiated on three different element selections. Yet, the box outline and circle opacity transitions start after the box position transitions.