Skip to content

Instantly share code, notes, and snippets.

/_.md

Created October 4, 2012 23:37
Show Gist options
  • Save anonymous/3837141 to your computer and use it in GitHub Desktop.
Save anonymous/3837141 to your computer and use it in GitHub Desktop.
just another inlet to tributary

No Previous Gist

{"editor_editor":{"coffee":false,"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", 15)
.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="1231" height="669"><rect width="100" height="100" x="100" y="100" rx="15" 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