d3 select node by data code example
Example: html tag convert to d3.select() point
var selection = d3.select(domElement);
// later via the selection you can retrieve the element with .node()
var elt = selection.node();
var selection = d3.select(domElement);
// later via the selection you can retrieve the element with .node()
var elt = selection.node();