I\'m using D3 for drawing on the SVG. What I want is to append DOM element or HTML to the D3, like:
task.append(function(model){ //here return html or dom };
Try this:
d3.select("body").append(function() { return document.createElement("p") });