Skip to content

Instantly share code, notes, and snippets.

@adamclerk
Forked from anonymous/inlet.js
Created October 3, 2012 21:56
Show Gist options
  • Save adamclerk/3830142 to your computer and use it in GitHub Desktop.
Save adamclerk/3830142 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 class="tributary_svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="1266" height="1277"><rect width="100" height="100" x="100" y="100" rx="15" style="fill: rgb(31, 0, 255); fill-opacity: 0.5; stroke: rgb(0, 51, 255); stroke-width: 5;"/></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment