daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var divElem = d3.select("#svgpathSVGdata");
  2. var svgcanvas = divElem.append("svg:svg")
  3.     .attr("width", 800)
  4.     .attr("height", 800);
  5.    
  6. svgcanvas.append("svg:path")
  7.     .attr("d","M -200,0 A200,200 0 0,0 500,0 L -200,0")
  8.     .attr("transform", "translate(220,400) scale(1, -1)")
  9.     .style("stroke-width", 2)
  10.     .style("stroke", "steelblue")
  11.     .style("fill", "none");​
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top