myTransition.remove() in D3.js

Remove all elements in the selection from the document at the end of the transition.

Return Type
Transition

Description

For more details see https://github.com/mbostock/d3/wiki/Transitions#wiki-remove.

See Also