forked from usf-cs360-spring2020/midterm-chinchillas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jaden.html
191 lines (158 loc) · 7.04 KB
/
jaden.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- TODO: Change title -->
<title>Chinchillas</title>
<!-- Load Bulma from CDN (consider saving it to repository instead) -->
<!-- https://bulma.io/ -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" href="styleJ.css">
<!-- Load Font Awesome 5 (free) icons -->
<script defer src="https://use.fontawesome.com/releases/v5.10.2/js/all.js"></script>
</head>
<body>
<!-- Page header -->
<!-- https://bulma.io/documentation/layout/hero/ -->
<section class="hero is-primary is-bold">
<div class="hero-body">
<div class="container">
<!-- TODO: Change title -->
<h1 class="title">Midterm Project</h1>
<!-- TODO: Change subtitle -->
<h2 class="subtitle">By: Ned Azar, Enrique Bascur, and Jaden Hamid </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">
<!-- TODO: Change link to repository homepage if needed -->
<!-- TODO: Change which navbar-item is-active if needed -->
<a class="navbar-item" 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.html" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<!-- TODO: Modify or remove dropdown -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<span class="icon"><i class="fas fa-fire-alt"></i></span>
Visualizations
</a>
<div class="navbar-dropdown">
<a href="ned.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-line"></i></span>
<span>Ned's Chart</span>
</a>
<a href="enrique.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-area"></i></span>
<span>Enrique's Chart</span>
</a>
<a href="jaden.html" class="navbar-item">
<span class="icon"><i class="fas fa-chart-bar"></i></span>
<span>Jaden's Chart</span>
</a>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<!-- TODO: Update as needed -->
<a class="navbar-item" href="" title="About">
<span class="icon"><i class="fas fa-tasks"></i></span>
<span>Grade</span>
</a>
<a class="navbar-item" href="about.html" 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>Jaden</h1>
<h2>Personal Data Wrangling</h2>
<p>For data wrangling in this prototype we all the data from 2015 to 2019 to see if we could find anything interesting trends or data points. This was done on the<a href="https://data.sfgov.org/Public-Safety/Fire-Department-Calls-for-Service/nuek-vuh3"> Data SF</a> website with their data filter tool.</p>
<p>For this particular prototype I made an average response time using the <strong>DATEDIFF('minute',[INTIME], [OUTTIME])</strong> tool in tableau, having the [INTIME] be the dispatch time and date, and the [OUTTIME] be the onscene arrival of the response unit. Which gives me the minutes per response and I took the average of that to get average response time.</p>
<h2>Prototype</h2>
<img src="img/jaden1.png" width="960px" height="500px"> </img>
<h2>Planned Interactivity</h2>
<p> For interactivity, I plan on using a highlight tool that says all the relevant data.</p>
<h2>D3 Implementation</h2>
<svg id="chart"></svg>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script type="text/javascript" src="jaden.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.25.6/d3-legend.js"></script>
<h2>Interpretation</h2>
<p>As we can see the average response time doesn't have much variation over the years but there is a difference in response time between neighborhoods. </p>
<h2>Inspiration </h2>
<p> <a href="https://blockbuilder.org/sjengle/47c5c20a18ec29f4e2b82905bdb7fe95" target="blank">Sophie's Zillow Heat Map<a></p>
<p> <a href = "https://d3-legend.susielu.com/#color"target="blank">d3 Legend Builder</p>
</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/midterm-chinchillas" 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>