score:6

Can this example help? http://bl.ocks.org/mbostock/950642

The related code is here:

node.append("image")
      .attr("xlink:href", "https://github.com/favicon.ico")
      .attr("x", -8)
      .attr("y", -8)
      .attr("width", 16)
      .attr("height", 16);

Related Query

More Query from same tag