Skip to content

Instantly share code, notes, and snippets.

/_.md

Forked from anonymous/_.md
Created August 30, 2012 09:54
Show Gist options
  • Save anonymous/3525110 to your computer and use it in GitHub Desktop.
Save anonymous/3525110 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment