Skip to content

Instantly share code, notes, and snippets.

@bin-yan
bin-yan / data_time-series.csv
Last active July 12, 2017 16:00
Time-series with confidence range
timestamp chilledWater-TonDays mean std deviation abnormal holder
1.42292E+12 1.934474543 3.066271875 9.27553189 -0.122019669 0
1.42301E+12 3.310009431 3.503277159 9.253861353 -0.02088509 0
1.42309E+12 2.999252524 3.619516518 9.296920453 -0.066717145 0
1.42318E+12 2.064923403 3.364902934 9.262473561 -0.140349068 0
1.42327E+12 1.854635831 3.386914916 9.292483835 -0.164894458 0
1.42335E+12 1.904876804 2.642841138 9.3770363 -0.078699102 0
1.42344E+12 1.586105373 1.911502195 9.352998312 -0.034790643 0
1.42353E+12 1.80224358 2.997508147 9.259038474 -0.129091651 0
1.42361E+12 2.23140009 3.63952861 9.254803353 -0.152151101 0
@bin-yan
bin-yan / index.html
Last active July 12, 2017 19:42
Some Madness in Sankey
<!DOCTYPE html>
<html>
<head>
<title>vertical sankey visualization in D3</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="sankey.css" type="text/css"/>
<script src="//d3js.org/d3.v3.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js" charset="utf-8"></script>
<script src="sankey.js"></script>