4 ms·
No it doesn't. You only have to change two lines to vanilla javascript. document.getElementById("myRoot").appendChild(svg.node()); and remove the yield Thats
by j-pb 5y ago
No it doesn't.
You only have to change two lines to vanilla javascript.
document.getElementById("myRoot").appendChild(svg.node());
and remove the yield
Thats it. But apparently you all don't know this, because you don't want to understand D3 or basic DOM APIs beyond ctrl-c/ctrl-v.