Skip to content

Instantly share code, notes, and snippets.

/_.md

Created August 30, 2012 09:54
Show Gist options
  • Save anonymous/3525102 to your computer and use it in GitHub Desktop.
Save anonymous/3525102 to your computer and use it in GitHub Desktop.
just another inlet to tributary

No parent Inlet

{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":861,"height":366,"hide":false}}
var canvas = d3.select("svg").append("circle")
.attr("r","100")
.attr("cx", "200")
.attr("cy", "200")
.style("fill", "orange")
.on("click",function(){d3.select(this).transition().delay(500).duration(3000).attr("r","200")
.style("fill", "blue").style("opacity", "0.6"); })
.on("dblclick", function(){d3.select(this).transition().duration(1000).attr("r", "100").style("fill","black");});
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" class="tributary_svg" width="1525" height="710"><circle r="100" cx="200" cy="200" style="fill: rgb(0, 0, 0); opacity: 0.600363;"/></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment