-
Notifications
You must be signed in to change notification settings - Fork 0
/
BLUEBikesDashboard.html
178 lines (145 loc) · 5.56 KB
/
BLUEBikesDashboard.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<title>BLUEBikes Dashboard</title>
<meta charset="utf-8">
<meta name="description" content="Dashboard application for visualizing historical BLUEBikes trip data">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://d21xlh2maitm24.cloudfront.net/bst/favicon-2.ico?mtime=20180503154756">
<link rel="stylesheet" href="./static/lib/css//bootstrap.min.css">
<link rel="stylesheet" href="./static/lib/css/keen-dashboards.css">
<link rel="stylesheet" href="./static/lib/css/dc.min.css">
<link rel="stylesheet" href="./static/lib/css/leaflet.css">
<link rel="stylesheet" href="./static/css/custom.css">
</head>
<body class="application">
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="./">BLUEBikes Trips Data Geo-Visualization</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="https://www.bluebikes.com/">BLUEBikes Boston</a></li>
<li><a href="https://member.bluebikes.com/map/">BLUEBikes Station Map</a></li>
</ul>
</div>
</div>
<p class="text">Discover BLUEBikes sample datasets and explore their spatio-temporal characteristics</p>
<select class="div-toggle" data-target=".my-info-1">
<option value="weekday" data-show=".weekday">Example Weekday (1st Oct. 2019)</option>
<option value="weekend" data-show=".weekend">Example Weekend (13th Oct. 2019)</option>
</select>
<div class="my-info-1">
<div class="weekday hide">BLUEBikes sample values for a randomly chosen weekday...</div>
<div class="weekend hide">BLUEBikes sample values for a randomly chosen weekend...</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
<div class="row">
<!-- Time Chart showing number of trips in selected time period-->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">
Number of Trips
</div>
<div class="chart-stage">
<div id="time-chart"></div>
</div>
</div>
</div>
<!-- Time Chart -->
<!-- User types -->
<div class="col-sm-6">
<div class="chart-wrapper">
<div class="chart-title">
User Types
</div>
<div class="chart-stage">
<div id="usertype-chart"></div>
</div>
</div>
</div>
<!-- Brand -->
<div class="col-sm-6">
<div class="row">
<!-- Gender -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">
Gender
</div>
<div class="chart-stage">
<div id="gender-chart"></div>
</div>
</div>
</div>
</div>
<!-- Gender -->
<!-- Age Segments -->
<div class="row">
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">
Age Segment
</div>
<div class="chart-stage">
<div id="agesegment-chart"></div>
</div>
</div>
</div>
<!-- Age Segment -->
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="row">
<!-- Map using Leaflet -->
<div class="col-sm-30">
<div class="chart-wrapper">
<div class="chart-title">
Leaflet Visualization
</div>
<div class="chart-stage">
<div id="leafletmap" style="width: 590px; height: 500px"></div>
</div>
</div>
</div>
<!-- Map -->
</div>
<div class="row">
<!-- Number of trips -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">
Number of Trips
</div>
<div class="chart-stage">
<div id="number-trips"></div>
</div>
</div>
</div>
<!-- Number of events -->
</div>
</div>
</div>
<hr>
<p class="small text-muted">CSS built with ♥ by <a href="https://keen.io">Keen IO</a> Fork this project on <a href="https://github.com/lukasValentin/BLUEBikes_Visualization">GitHub</a> </p>
<script src="./static/lib/js/jquery.min.js"></script>
<script src="./static/lib/js/bootstrap.min.js"></script>
<script src="./static/lib/js/underscore-min.js"></script>
<script src="./static/lib/js/crossfilter.js"></script>
<script src="./static/lib/js/d3.min.js"></script>
<script src="./static/lib/js/dc.min.js"></script>
<script src="./static/lib/js/queue.js"></script>
<script src="./static/lib/js/leaflet.js"></script>
<script src="./static/lib/js/leaflet-heat.js"></script>
<script src="./static/lib/js/keen.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- include the js file where the graphs and the leaflet are defined -->
<script src='./static/js/graphs.js' type='text/javascript'></script>
</body>
</html>