[ Launch: testing params ] 5678250 by georules
[ Launch: testing params ] 5088156 by enjalot
-
-
Save georules/5678250 to your computer and use it in GitHub Desktop.
testing params
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":"testing params","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"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":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01} |
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
// http://ec2-54-235-157-206.compute-1.amazonaws.com/test/ | |
// http%3A%2F%2Fec2-54-235-157-206.compute-1.amazonaws.com%2Ftest%2F | |
var params = tributary.query; | |
console.log("query", params); | |
d3.csv(params.data, function(e,data) { | |
console.log(e); | |
var codewindow = svg.append("foreignObject").attr("x",42).attr("y",119) | |
.attr("width", 597) | |
.attr("height", 500) | |
.append("xhtml:body") | |
.style("font", "13px 'Courier'") | |
.style("color", "#A06814") | |
.html(JSON.stringify(data)); | |
}); | |
var svg = d3.select("svg"); | |
var codewindow = svg.append("foreignObject").attr("x",42).attr("y",38) | |
.attr("width", 504) | |
.attr("height", 500) | |
.append("xhtml:body") | |
.style("font", "13px 'Courier'") | |
.style("color", "#0C87AD") | |
.html(JSON.stringify(params)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment