serg.v.gusev
0
Q:

html tag convert to d3.select() point

//Class
d3.select(“.classname”)

//Unique identifier
d3.select(“#line”)
          
//Attribute
d3.select(“[color=black]”)
1
var selection = d3.select(domElement);

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

New to Communities?

Join the community