Function selection

  • Selects the root element, document.documentElement. This function can also be used to test for selections (instanceof d3.selection) or to extend the selection prototype.

    Returns Selection<HTMLElement, any, null, undefined>