Table of Contents

About

The element lifecycle in D3 has the three state:

  • enter,
  • update and
  • exit

They are the output of a data join operation

Defining the state of the element during a data join is crucial for efficient dynamic visualizations.

Usage

  • Constant Properties are set once on enter (They will never change for the life of the element)
  • Dynamic properties are recomputed per update.
  • Animated transitions can be defined for each of the three states.

Documentation / Reference