Skip to content

Instantly share code, notes, and snippets.

@darrentorpey
Forked from anonymous/inlet.js
Created October 8, 2012 21:50
Show Gist options
  • Save darrentorpey/3855235 to your computer and use it in GitHub Desktop.
Save darrentorpey/3855235 to your computer and use it in GitHub Desktop.
just another inlet to tributary
{"editor_editor":{"coffee":true,"vim":false,"emacs":false,"width":600,"height":300,"hide":false},"endpoint":"tributary","public":true}
var svg = d3.select("svg");
svg.append("rect")
.attr("width", 100)
.attr("height", 100)
.attr("x", 100)
.attr("y", 100)
.attr("rx", 35)
.style("fill", "#1F00FF")
.style("fill-opacity", 0.5)
.style("stroke", "#0033FF")
.style("stroke-width", 5)
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="tributary_svg" width="1439" height="686"><rect width="100" height="100" x="100" y="100" rx="35" style="fill: #1f00ff; fill-opacity: 0.5; stroke: #0033ff; stroke-width: 5px;"></rect></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment