generated from usf-cs360-spring2020/template-bulma
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
297 lines (248 loc) · 9.99 KB
/
index.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>homework1 by Alex Wang</title>
<!-- Load Bulma from CDN (consider saving it to repository instead) -->
<!-- Load Font Awesome 5 (free) icons -->
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<!-- https://bulma.io/ -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
</head>
<body>
<!-- Page header -->
<!-- https://bulma.io/documentation/layout/hero/ -->
<section class="hero is-primary is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title">homework1: Data Visualization of Air Traffic Passenger Statistics</h1>
<h2 class="subtitle">using Tableau and D3.js</h2>
</div>
</div>
</section>
<!-- End page header -->
<!-- Page navigation -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<nav class="navbar is-light" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item is-active" href="index.html">
<span class="icon"><i class="fas fa-home"></i></span>
<span>Home</span>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="main-menu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="main-menu" class="navbar-menu has-text-weight-medium">
<!-- Left navbar items -->
<div class="navbar-start">
<a class="navbar-item" href="#data" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Visualizations
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="barChart1.html">
<span>Bar Chart</span>
</a>
<a class="navbar-item" href="heatMap1.html">
<span>Heat Map</span>
</a>
<a class="navbar-item" href="areaChart1.html">
<span>Area Chart</span>
</a>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<a class="navbar-item" href="#about" title="About">
<span class="icon"><i class="fas fa-tasks"></i></span>
<span>Grade</span>
</a>
<a class="navbar-item" href="#about" title="About">
<span class="icon"><i class="fas fa-info-circle"></i></span>
<span>About</span>
</a>
</div>
</div>
</div>
</nav>
<!-- End page navigation -->
<section class="section">
<div class="container">
<!-- Begin page content -->
<div class="content">
<h1 class="title">
Air Traffic Passenger Statistics
</h1>
<p class="subtitle">
</p>
<p>"San Francisco International Airport Report on Monthly Passenger Traffic Statistics by Airline." Publishing department: San Francisco International Airport.</p>
<h2 id="data">Data</h2>
<p>See <a href="https://data.sfgov.org/Transportation/Air-Traffic-Passenger-Statistics/rkru-6vcg">Air Traffic Passenger Statistics</a> for the original dataset. Data from: <a href="https://datasf.org/opendata/">DataSF. </a>
There 21.2K rows and 12 columns in this dataset.</p>
<h2 id="visualizations">Visualizations</h2>
<p class="buttons">
<p>
<button class="button is-large is-info" onclick="window.location.href = 'barChart1.html';">
<span>Bar Chart</span>
</button> Bar chart: Passenger count of top 7 airlines which held most passengers in June 2019</p>
<h4></h4>
<p>
<button class="button is-large is-info" href="#" id="area" onclick="window.location.href = 'heatMap1.html';">
<span>Heat Map</span>
</button> Heat map: Passenger count in various regions in 2019 January to September</p>
<h4></h4>
<p>
<button class="button is-large is-info" href="#" id="bar2" onclick="window.location.href = 'areaChart1.html';">
<span>Area Chart</span>
</button> Area chart: Passenger count during January to September in 2019</p>
<h4></h4>
</p>
<h4>Instructions</h4>
<p>Please click the buttons of charts above to inspect</p>
<span class="heading">Acknowledgements</span>
<p>
<a href="#">Link to insiration</a><br/>
<a href="#">Link to StackOverflow snippet</a>
</p>
<p class="is-6">
<em>Thanks to Person Name for their suggestion to do something with the visualization.</em>
</p>
<h2 id="grade">Grade</h2>
<style>
table.grades tbody tr td:nth-child(1),
table.grades tbody tr td:nth-child(2),
table.grades tbody tr td:nth-child(3),
table.grades tbody tr td:nth-child(4)
{
text-align: center;
}
</style>
<!-- https://bulma.io/documentation/elements/table/ -->
<table class="table is-hoverable is-bordered grades">
<thead>
<tr>
<th>Letter</th>
<th>Done?</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>D</td>
<td><i class="has-text-success fas fa-check-circle"></i></td>
<td>Three prototype implemented. </td>
</tr>
<tr>
<td>C</td>
<td><i class="has-text-success fas fa-check-circle"></i></td>
<td>Three prototype implemented. </td>
</tr>
<tr>
<td>B</td>
<td><i class="has-text-success far fa-check-circle"></i></td>
<td>An area chart implemented in d3.</td>
</tr>
<tr>
<td>A</td>
<td><i class="has-text-success fas fa-times-circle"></i></td>
<td>An bar chart implement in d3.</td>
</tr>
</tbody>
</table>
<h2 id="about">About</h2>
<!-- Profile box -->
<!-- https://bulma.io/documentation/layout/media-object/ -->
<article class="media">
<figure class="media-left">
<p class="image is-128x128"><img class="is-rounded" src="aw5.png"></p>
</figure>
<div class="media-content">
<div class="content">
<p>
<strong>Alex(Ziwei) Wang</strong><br/>
CS Major, <a href="https://www.usfca.edu/">University of San Francisco</a><br/>
<em>Expected Graduation: December 2020</em><br/>
<i class="fas fa-envelope"></i> <a href="mailto:[email protected]">[email protected]</a>
</p>
<p>
Interested in Data visualization, Brain-Computer Interaction, Game development, and more.
Dedicated to using technology to bring more convenience, safety and peace to the world. A Slytherin.
</p>
<!-- https://bulma.io/documentation/elements/tag/ -->
<div class="heading">Skills</div>
<div class="tags">
<span class="tag">C</span>
<span class="tag">Java</span>
<span class="tag">Python</span>
<span class="tag">Android development</span>
<span class="tag">R</span>
<span class="tag">Unity</span>
<span class="tag">Assembly</span>
<span class="tag">JavaScript</span>
<span class="tag">HTML</span>
<span class="tag">CSS</span>
<span class="tag">SVG</span>
</div>
</div>
</div>
</article>
<!-- End profile box -->
</div>
<!-- End page content -->
</div>
</section>
<!-- Page footer -->
<!-- https://bulma.io/documentation/layout/footer/ -->
<footer class="footer">
<div class="content has-text-centered is-size-7">
<p>
<a href="#top">
<span class="fas fa-arrow-up"></span>
<span class="has-text-weight-medium">Back to Top</span>
</a>
</p>
<p>
<!-- TODO: Change to link to your Github repository -->
<a href="https://github.com/usf-cs360-spring2020/template-bulma" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-github-alt"></i> <strong>Github</strong>
</a>
<a href="https://fontawesome.com/" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-font-awesome"></i> <strong>FontAwesome</strong>
</a>
<a href="https://bulma.io" class="button is-small">
<img src="https://bulma.io/images/made-with-bulma--semiblack.png" alt="Made with Bulma" width="128" height="24">
</a>
</p>
</div>
</footer>
<!-- End page footer -->
<!-- Mobile menu responsiveness -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<script>
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
<!-- End mobile menu responsiveness -->
</body>
</html>