-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
323 lines (285 loc) · 11.7 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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>NYC Traffic Data Analysis</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- Custom CSS -->
<link href="css/stylish-portfolio.css" rel="stylesheet">
<script src="https://www.w3schools.com/lib/w3.js"></script>
</head>
<body>
<!-- Navigation -->
<a id="menu-toggle" href="#" class="btn btn-dark btn-lg toggle">
<i class="fa fa-bars"></i>
</a>
<nav id="sidebar-wrapper">
<ul class="sidebar-nav">
<a id="menu-close" href="#" class="btn btn-light btn-sm pull-right toggle">
<i class="fa fa-times"></i>
</a>
<li class="sidebar-brand">
<a class="js-scroll-trigger" href="#top">NYC Traffic Analysis</a>
</li>
<li>
<a class="js-scroll-trigger" href="#about">About Our Analysis</a>
</li>
<li>
<a class="js-scroll-trigger" href="#collision">Traffic Collision</a>
</li>
<li>
<a class="js-scroll-trigger" href="#subway">Subway and Weather</a>
</li>
<li>
<a class="js-scroll-trigger" href="#bike">Bike and Day Pass</a>
</li>
<li>
<a class="js-scroll-trigger" href="#contact" >Contact</a>
</li>
</ul>
</nav>
<!-- Header -->
<header class="header" id="top">
<div class="text-vertical-center">
<h1>NYC Transportation Analysis</h1>
<h3>By CMAN @ CodeJam2017</h3>
<br>
<a href="#about" class="btn btn-dark btn-lg js-scroll-trigger">Find Out More</a>
</div>
</header>
<!-- About -->
<section id="about" class="about">
<div class="container text-center">
<h2>Project Description</h2>
<p class="lead">Analysis of transportation condition in NYC based on real dataset</p>
</div>
<!-- /.container -->
</section>
<!-- Icons -->
<section id="" class="services bg-primary text-white">
<div class="container">
<div class="row text-center">
<div class="col-lg-10 mx-auto">
<h2>Our Analysis</h2>
<hr class="small">
<div class="row">
<div class="col-md-4 col-sm-8">
<div class="service-item">
<span class="fa-stack fa-4x">
<a class="js-scroll-trigger" href="#collision"><i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-automobile fa-stack-1x text-primary"></i></a>
</span>
<h4>
<strong>Traffic Collision</strong>
</h4>
</div>
</div>
<div class="col-md-4 col-sm-8">
<div class="service-item">
<span class="fa-stack fa-4x">
<a class="js-scroll-trigger" href="#subway"><i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-subway fa-stack-1x text-primary"></i></a>
</span>
<h4>
<strong>NYC Subway</strong>
</h4>
</div>
</div>
<div class="col-md-4 col-sm-8">
<div class="service-item">
<span class="fa-stack fa-4x">
<a class="js-scroll-trigger" href="#bike"><i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-bicycle fa-stack-1x text-primary"></i></a>
</span>
<h4>
<strong>NYC Bike</strong>
</h4>
</div>
</div>
</div>
<!-- /.row (nested) -->
</div>
<!-- /.col-lg-10 -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</section>
<!-- Collision -->
<section class="portfolio" id="collision">
<div class="container">
<div class="row">
<div class="col-lg-10 mx-auto text-center">
<h4><b>Intersections with ≥12 Collisions in 2015 vs 2016</b></h4>
<hr class="medium">
</div>
<div class="col-md-6">
<p>2015 NYC Traffic Collision</p>
<img class="img-portfolio img-fluid" src="maps/accidentNumGreaterThan12_2015.png">
</div>
<div class="col-md-6">
<p>2016 NYC Traffic Collision</p>
<img class="img-portfolio img-fluid" src="maps/accidentNumGreaterThan12_2016.png">
</div>
</div>
<div>
<br>
<div class="col-lg-10 mx-auto text-center">
<h4><b>NYC Traffic Collision Clustered Conclusion</b></h4>
<hr class="medium">
</div>
<div class="col-md-6 mx-auto">
<div class="portfolio-item">
<img class="img-portfolio img-fluid" src="maps/collision_cluster.png">
</div>
</div>
<div class="col-md-8 mx-auto text-center">
<p><h5>To analyze the most frequent location of vehicle collisions in NYC, we implemented k-means cluster model to find a natural grouping for the data. The graph is an example of our k-means cluster model with k=8 and different clusters shown in different colors with their centroids marked by “x”.
</h5></p>
</div>
<div>
<br>
<div class="row">
<div class="col-lg-10 mx-auto text-center">
<h4><b>NYC Traffic Collision Clustered Map in 2015</b></h4>
<hr class="medium">
</div>
<div class="col-md-4">
<p><h5>Also, we created a map with marker cluster visualizing the analysis of our data precisely. By adjusting the size of the map, the location dots clustered, which matches the result of our k-means cluster model.
</h5></p>
</div>
<div class="col-md-8">
<div class="portfolio-item">
<iframe src="maps/map15_10000.html"></iframe>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-10 mx-auto text-center">
<h4><b>NYC Traffic Collision Clustered Map in 2016</b></h4>
<hr class="medium">
</div>
<div class="col-md-4">
<p><h5>Brooklyn is the district where most vehicle collisions happened in both 2015 and 2016.
</h5></p>
</div>
<div class="col-md-8">
<div class="portfolio-item">
<iframe src="maps/map16_10000.html"></iframe>
</div>
</div>
</div>
</div>
</section>
<!-- Subway -->
<section id="subway" class="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-10 mx-auto text-center">
<h2>Subway and Weather</h2>
<hr class="medium">
<div class="row">
<div class="col-md-6">
<div class="portfolio-item">
<img class="img-portfolio img-fluid" src="maps/subway1.png">
</div>
</div>
<div class="col-md-6">
<div class="portfolio-item">
<img class="img-portfolio img-fluid" src="maps/subway2.png">
</div>
</div>
<div class="col-lg-10 mx-auto text-center">
<p><h5>At the beginning, we were suspecting weather will affect the number of people using the subway. In order to prove our hypothesis, we applied regression estimating the relationships between these two variables. Surprisingly, we discovered that weather actually has minor influence on the crowdedness of the subway system.
</h5></p>
</div>
</div>
<!-- /.row (nested) -->
<a href="https://github.com/nickszhu/CMAN/blob/master/maps/subway%20and%20weather%20regression%20analysiss.txt" target="_blank" class="btn btn-dark">
Subway & Weather Regression Analysis Result
</a>
</div>
<!-- /.col-lg-10 -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</section>
<!-- Bike -->
<section id="bike" class="portfolio">
<div class="container">
<div class="col-lg-10 mx-auto text-center">
<h2>24hr Bike Tickets Amount with Total Miles per Day</h2>
<hr class="medium">
</div>
<div class="col-md-6 mx-auto">
<div class="portfolio-item">
<img class="img-portfolio img-fluid" src="maps/bike.png">
</div>
</div>
<div class="col-md-8 mx-auto text-center">
<p><h5>Regarding the Citi Bike data set, we also used regression to analyze the relationship between the daily distance a citi-bike traveled and daily purchases of 24h passes. In addition, we included a factor (daily purchases of7-day passes) so that we can improve our model to fit the data better. By doing so, we went from being able to explain about 49.9% of the variation in the model to 77.9% .</h5></p>
</div>
<div class="col-md-6 mx-auto text-center">
<a href="https://github.com/nickszhu/CMAN/blob/master/maps/bike_regression.txt" target="_blank" class="btn btn-dark">
Bike & Number of Passes Purchased Regression Analysis Result
</a>
</div>
</div>
</section>
<!-- Call to Action -->
<aside class="call-to-action bg-primary text-white">
<div class="container text-center">
<h3>The End of Our Analysis</h3>
<h5>Thank You!</h5>
<a href="#top" class="btn btn-lg btn-light js-scroll-trigger">Back To Home</a>
<a href="https://github.com/nickszhu/CMAN" target="_blank" class="btn btn-lg btn-light">Source Code</a>
</div>
</aside>
<!-- Footer -->
<footer id="contact">
<div class="container">
<div class="row">
<div class="col-lg-10 mx-auto text-center">
<h4>
<strong>CMAN - CodeJam2017</strong>
</h4>
<ul class="list-unstyled">
<li>Chelsea Zhou</li>
<li>Mia Wang</li>
<li>Angela Li</li>
<li><a href="https://github.com/nickszhu">Nick Zhu</a></li>
</ul>
<br>
<ul class="list-inline">
<li class="list-inline-item">
<a href="https://github.com/nickszhu/CMAN">
<i class="fa fa-github fa-fw fa-3x"></i>
</a>
</li>
</ul>
<hr class="small">
<p class="text-muted">Copyright © CMAN-CodeJam2017</p>
</div>
</div>
</div>
<a id="to-top" href="#top" class="btn btn-dark btn-lg js-scroll-trigger">
<i class="fa fa-chevron-up fa-fw fa-1x"></i>
</a>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for this template -->
<script src="js/stylish-portfolio.js"></script>
</body>
</html>