d3-selection
d3-selection copied to clipboard
Transform the DOM by selecting elements and joining to data.
d3-selection
Selections allow powerful data-driven transformation of the document object model (DOM): set attributes, styles, properties, HTML or text content, and more. Using the data join’s enter and exit selections, you can also add or remove elements to correspond to data.