Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var divElem = d3.select("#svgpathSVGdata");
- var svgcanvas = divElem.append("svg:svg")
- .attr("width", 800)
- .attr("height", 800);
- svgcanvas.append("svg:path")
- .attr("d","M -200,0 A200,200 0 0,0 500,0 L -200,0")
- .attr("transform", "translate(220,400) scale(1, -1)")
- .style("stroke-width", 2)
- .style("stroke", "steelblue")
- .style("fill", "none");​
Add Comment
Please, Sign In to add comment