Mention what is the use of “Enter” and “Exit” selection in d3.js?
By using “Enter” and “Exit” selection in d3.js, you can create new nodes for incoming data and eliminate outgoing nodes that are no longer required.