Interactive Data Visualization with D3.js
enter() and exit()
The enter and exit methods are called DOM elements are added and removed from the dataset. Developers can use these methods to modify the DOM to reflect the change in data.
Get Unlimited Access Now