Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
<svg width="960" height="500">
<rect width="960" height="500"></rect>
</svg>
<script src="http://mbostock.github.com/d3/d3.js"></script>
<script>
d3.select("svg rect").style("fill", "red");
</script>
{"view":"split","prefixfree":"1","page":"result"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.