Do you know why doing this with d3 display a circle:
node.append("circle")
But not this:
node.append(function () {
return document.createElement("circle");
})
The DOM result is exactly the same, but the circle is not visible in the second case