-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
272 lines (217 loc) · 9.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<style>
#bubblechart {
width: 100%;
height: 500px;
}
.ui.indicating.progress[data-percent^="1"] .bar,
.ui.indicating.progress[data-percent^="2"] .bar {
background-color: #66DA81;
}
.ui.indicating.progress[data-percent^="3"] .bar {
background-color: #B4D95C;
}
.ui.indicating.progress[data-percent^="4"] .bar,
.ui.indicating.progress[data-percent^="5"] .bar {
background-color: #DDC928;
}
.ui.indicating.progress[data-percent^="6"] .bar {
background-color: #E6BB48;
}
.ui.indicating.progress[data-percent^="7"] .bar,
.ui.indicating.progress[data-percent^="8"] .bar {
background-color: #EFBC72;
}
.ui.indicating.progress[data-percent^="9"] .bar,
.ui.indicating.progress[data-percent^="100"] .bar {
background-color: #D95C5C;
}
@media screen and (max-width: 1850px) {
#rails {
display: none !important;
}
input[type=date]:required:invalid::-webkit-datetime-edit {
color: transparent;
}
input[type=date]:focus::-webkit-datetime-edit {
color: black !important;
}
}
</style>
<script src="https://cdn.amcharts.com/lib/4/core.js"></script>
<script src="https://cdn.amcharts.com/lib/4/charts.js"></script>
<script src="https://cdn.amcharts.com/lib/4/lang/de_DE.js"></script>
<script src="https://cdn.amcharts.com/lib/4/geodata/germanyLow.js"></script>
<script src="https://cdn.amcharts.com/lib/4/fonts/notosans-sc.js"></script>
<script src="https://cdn.amcharts.com/lib/4/themes/animated.js"></script>
<script
src="https://gist.githubusercontent.com/bl4ck5un/ed27db3d653011b32ee0877058abac7d/raw/d7c46a3880d94cbc3f344bb160620dbd1cb17f2b/responsive-semantic-ui.css">
</script>
<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.min.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="semantic/dist/semantic.min.js"></script>
</head>
<body style="height:100vh">
<div class="ui raised padded container">
<div class="ui container">
<hr style="height:10px; visibility:hidden;" />
<h1 class="ui center aligned header">
Munich Occupancies Graphically Visualized
</h1>
</div>
<h4 class="ui horizontal divider header">
<i class="map outline icon"></i>
Select Location
</h4>
<p>The chart shows the occupancies of different Locations in Munich. This is helpfull if you want to find a the
best timeslot without having to wait. </p>
<select class="ui fluid search selection dropdown" id="location-dropdown">
<i class="dropdown icon"></i>
</select>
<h4 class="ui horizontal divider header">
<i class="bar chart icon"></i>
Bubble Chart
</h4>
<div class="ui container">
<div class="ui segment" id="vis">
<div class="ui left rail computer only " id="rails">
<div class="ui container">
<div class="ui vertical text menu">
<div class="header item">Importand Infos</div>
<a class="item">
API
</a>
<a class="item">
Where did we get the data from?
</a>
<a>
<img src="./images/avatar/leon.png" data-title="Leon Kie"
data-content="Creator of the Visualization on this site" class="ui avatar image">
<img src="./images/avatar/patrik.jpg" data-title="Patrik N"
data-content="Creator of the API" class="ui avatar image">
<br></br>
</a>
<a>
<div class="ui fluid animated fade button" id="coffee" tabindex="0">
<div class="visible content">
<i class="coffee icon"></i>
</div>
<div class="hidden content">
Buy us a Coffee
</div>
</div>
</a>
</div>
</div>
</div>
<div class="ui right rail computer only" id="rails">
<div class="ui card">
<div class="image">
<div id="wrapper">
<div id="map-9cd199b9cc5410cd3b1ad21cab2e54d3">
</div>
</div>
</div>
<div class="content">
<a class="header" id="maps-header" ></a>
<div class="meta">
<span class="date">Location</span>
</div>
<div class="description">
</div>
</div>
<div class="extra content">
<a>
</a>
</div>
</div>
</div>
<div id="bubblechart"></div>
<div class="ui center aligned tree equal width grid ">
<div class="column">
<div class="ui fluid centered animated button" id="pre" tabindex="0">
<div class="visible content">Previous</div>
<div class="hidden content">
<i class="left arrow icon"></i>
</div>
</div>
</div>
<div class="column">
<div class="ui mini statistic">
<div class="value" id="cw">
</div>
<div class="label">
calendar week
</div>
<div>
<!--<select class="ui search dropdown" id="year-dropdown">
<option value="2021">2021</option>
<option value="2020">2020</option>
</select>-->
</div>
</div>
</div>
<div class="column">
<div class="ui fluid animated button" id="next" tabindex="0">
<div class="visible content">Next</div>
<div class="hidden content">
<i class="right arrow icon"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<h4 class="ui horizontal divider header">
<i class="bell outline icon"></i>
Now
</h4>
<div class="ui indicating progress" id="occ1">
<div class="bar">
<div class ="progress"></div>
</div>
<div class="label">Current Occupancie</div>
</div>
<br>
<h4 class="ui grid horizontal divider header mobile only">
Infos
</h4>
<br>
<div class="ui fluid wide container grid mobile only">
<div class="ui fluid vertical text menu">
<div class="header item">Importand Infos</div>
<a class="item">
API
</a>
<a class="item">
Where did we get the data from?
</a>
<a>
<img src="./images/avatar/leon.png" data-title="Leon Kie"
data-content="Creator of the Visualization on this site" class="ui avatar image">
<img src="./images/avatar/patrik.jpg" data-title="Patrik N" data-content="Creator of the API"
class="ui avatar image">
<br></br>
</a>
<div class="ui fluid animated fade button" id="coffee" tabindex="0">
<div class="visible content">
<i class="coffee icon"></i>
</div>
<div class="hidden content">
Buy us a Coffee
</div>
</div>
<br>
</div>
</div>
</div>
<script type="module" src="readData.js"></script>
<script type="module" src="bubblechart.js"></script>
</body>
</html>