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
<script type="text/javascript"> | |
// set width/height | |
var w = 1000; | |
var h = 600; | |
var padding = 60; | |
// load csv and it only exists within the callback function! | |
d3.csv('d3df.csv', function(error, dataset) { | |
dataset.forEach(function(d) { | |
d.Distance = +d.Distance; | |
d.Period = +d["Period..minutes."]; |
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
<script type="text/javascript"> | |
// set width/height | |
var w = 1000; | |
var h = 600; | |
var padding = 60; | |
// load csv and it only exists within the callback function! | |
d3.csv('d3df.csv', function(error, dataset) { | |
dataset.forEach(function(d) { | |
d.Distance = +d.Distance; | |
d.Period = +d["Period..minutes."]; |
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
<script type="text/javascript"> | |
// set width/height | |
var w = 1000; | |
var h = 600; | |
var padding = 60; | |
// load csv and it only exists within the callback function! | |
d3.csv('d3df.csv', function(error, dataset) { | |
dataset.forEach(function(d) { | |
d.Distance = +d.Distance; | |
d.Period = +d["Period..minutes."]; |