[ Launch: Tributary inlet ] c14d96b1c009b744d72c by tom-christie
-
-
Save tom-christie/c14d96b1c009b744d72c to your computer and use it in GitHub Desktop.
Tributary inlet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"Tributary inlet","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/rq74J0m.png"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set size of chart area | |
var margin = {top: 30, right: 20, bottom: 20, left: 80}, | |
width = 500 - margin.left - margin.right, | |
height = 250 - margin.top - margin.bottom, | |
cwidth = 50; | |
var svg = d3.select("svg") | |
svg.append("rect") | |
.attr({ | |
width: 100, | |
height: 100, | |
x: 200, | |
y: 62, | |
fill: "#22bd58" | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-color:white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment