Skip to content

Instantly share code, notes, and snippets.

@ejfox
Created November 21, 2012 21:08
Show Gist options
  • Select an option

  • Save ejfox/4127736 to your computer and use it in GitHub Desktop.

Select an option

Save ejfox/4127736 to your computer and use it in GitHub Desktop.
Test Snippet
# This is the name of this snippet. Always just the first line.
And this is the description. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum.
var svg = tributary.g; //d3.select("svg");
svg.append("text")
.text("SVG!")
.attr({
x: 10,
y: 200,
});
svg.append("circle")
.attr({
cx: 216,
cy: 100,
r: 100,
fill: "#C02AB4"
})
svg.append("rect")
.attr({
x: 263,
y: 65,
width: 100,
height: 100,
fill: "#DA0DC1"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment