Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (55 sloc) 1.97 KB
<!DOCTYPE html>
<meta charset="utf-8">
<title>Zeo + Crossfilter</title>
<script src="crossfilter.v1.min.js"></script>
<script src="d3.v2.min.js"></script>
<script src="index.js"></script>
@import url(,700);
@import url(index.css);
<div id="body">
<a href="javascript:filter([null, [100, 150], null, null])">arrival delay</a>?
<a href="javascript:filter([null, null, [1700, 2000], null])">longer</a>
<a href="javascript:filter([null, null, [0, 300], null])">shorter</a>
<a href="javascript:filter([null, [80, 150], null, [new Date(2001, 0, 12), new Date(2001, 0, 13)]])">January 12</a>
<a href="javascript:filter([null, null, null, [new Date(2001, 0, 27), new Date(2001, 0, 29)]])">weekends</a>
<a href="javascript:filter([null, null, null, [new Date(2001, 0, 29), new Date(2001, 1, 3)]])">weekdays</a>
<a href="javascript:filter([[4, 7], null, null, null])">mornings</a>
<a href="javascript:filter([[21, 24], null, null, null])">nights</a>
<div id="charts">
<div id="pillow-chart" class="chart">
<div class="title">Head-to-pillow time</div>
<div id="wake-chart" class="chart">
<div class="title">Wake-up time</div>
<div id="hours-chart" class="chart">
<div class="title">Hours of sleep</div>
<div id="awakenings-chart" class="chart">
<div class="title">Awakenings</div>
<div id="weekday-chart" class="chart">
<div class="title">Day of week</div>
<div id="zq-chart" class="chart">
<div class="title">ZQ score</div>
<div id="date-chart" class="chart">
<div class="title">Date</div>
<aside id="totals"><span id="active">-</span> of <span id="total">-</span> nights selected.</aside>
<div id="lists">
<div id="night-list" class="list"></div>