var selection = d3.select(domElement); // later via the selection you can retrieve the element with .node() var elt = selection.node();