[ Launch: Tributary inlet ] 7015423 by trinary
-
-
Save trinary/7015423 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":"div","public":true,"require":[],"fileconfigs":{"inlet.js":{"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,"thumbnail":"http://i.imgur.com/QseitET.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
var data = [1,3,5,2,3,5]; | |
var d = d3.select("#display") | |
.selectAll("div") | |
.data(data) | |
.enter() | |
.append("div") | |
.style("padding-left", function(d,i) { return d * 7 + "px"; }) | |
.style("width", function(d,i) { return d * 20 + "px"}) | |
.style("border", "1px solid") | |
.text(function (d,i) { return d; }); | |
// console.log(d); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment