[ Launch: testing_fiona_code ] 1735adf04d95f1307c73 by blehman
[ Launch: test ] 4653053 by enjalot
[ Launch: test ] 4652017 by enjalot
[ Launch: test ] 4582399 by enjalot
-
-
Save blehman/1735adf04d95f1307c73 to your computer and use it in GitHub Desktop.
testing_fiona_code
This file contains hidden or 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_fiona_code","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},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12},"index.html":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"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,"tab":"edit","display_percent":0.7,"thumbnail":"http://i.imgur.com/Z4ghHZY.png","fullscreen":false,"ajax-caching":true} |
This file contains hidden or 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 button = d3.select('body').append('button'); | |
//button.text('Switch View') | |
//<button onclick="transition()">Switch View</button> | |
// --------------------------------------------------------------------------------------------------------------- DATA | |
d3.json("https://raw.githubusercontent.com/fionapigott/ebola-visualization/master/ebola_layers_data.json", function(json){ | |
console.log(json) | |
}) |
This file contains hidden or 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 { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 18px; | |
position: relative; | |
width: 1100px; | |
} | |
button { | |
position: absolute; | |
right: -100px; | |
top: 30px; | |
font-size: 16px; | |
} | |
.background rect {fill: #ddd;} | |
.axis {shape-rendering: crispEdges;} | |
.x.axis line {stroke: #fff;} | |
.x.axis path {display: none;} | |
.y.axis line {stroke: #fff;} | |
.y.axis path {display: none;} | |
.ylabel {font-size: 20px;} | |
.title {font-size: 30px;} | |
.timeline { | |
font-size: 18px; | |
text-anchor: end; | |
fill: #5E5E5E; | |
} | |
path {fill: none;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment