Skip to content

Instantly share code, notes, and snippets.

@popkinj
Created October 18, 2012 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save popkinj/3914923 to your computer and use it in GitHub Desktop.
Save popkinj/3914923 to your computer and use it in GitHub Desktop.
just another inlet to tributary
{"endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
var svg = d3.select("svg");
svg.append("rect")
.attr("width", 50)
.attr("height", 50)
.attr("x", 50)
.attr("y", 36)
.attr("rx", 15)
.style("fill", "#1F00FF")
.style("fill-opacity", 0.5)
.style("stroke", "#0033FF")
.style("stroke-width", 5)
svg.append("circle")
.attr("cx",643)
.attr("cy",67)
.attr("r",24)
.style("fill","#E71111")
.style("fill-opacity",0.5)
.style("stroke","#E91313")
.style("stroke-width",5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment