Skip to content

Instantly share code, notes, and snippets.

@thomasgwatson
Last active September 9, 2015 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasgwatson/1915cf92b73739483deb to your computer and use it in GitHub Desktop.
Save thomasgwatson/1915cf92b73739483deb to your computer and use it in GitHub Desktop.
Sha-banga-bang

hello markdown

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
</head>
<style>
body{
margin:0;
padding: 0;
}
</style>
<body>
<svg width=960 height=500 style="background-color:red">
<rect x=300 y=200 height=100 width=486 stroke="#00ef00" stroke-width=17 stroke-dasharray="34 33 21 11 45 66 23">
</rect>
<rect x=100 y=300 height=100 width=486 fill="#ffd800">
</rect>
<rect x=100 y=100 height=486 width=100 stroke="#00ef00" stroke-width=17 stroke-dasharray="34 33 21 11 45 66 23">
</rect>
<circle r=35 cx=450 cy=250 stroke="#00d8ff" stroke-width=12>
</circle>
</svg>
<script>
console.log("you are now rocking with d3", d3);
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment