-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
423 lines (403 loc) · 25.8 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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-161446078-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-161446078-1');
</script>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes" name="viewport">
<title>The Journey of Covid-19 in Indonesia</title>
<meta name="description" content="Statistik Penyebaran Virus Corona di Indonesia">
<meta name="author" content="idilhaq">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
<!-- IonIcons -->
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="dist/css/adminlte.min.css">
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition layout-top-nav">
<div class="wrapper">
<nav class="main-header navbar navbar-expand-md navbar-light navbar-dark">
<div class="container">
<a href="/covid19ID" class="navbar-brand">
<span class="brand-text font-weight-light">Covid19ID</span>
</a>
<button class="navbar-toggler order-1" type="button" data-toggle="collapse"
data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse order-3" id="navbarCollapse">
<ul class="navbar-nav">
<li class="nav-item d-none d-sm-inline-block active">
<a href="#" class="nav-link">Beranda</a>
</li>
<li class="nav-item d-none d-sm-inline-block">
<a href="/covid19ID/daftar_kasus.html" class="nav-link">Daftar Kasus</a>
</li>
<li class="nav-item d-none d-sm-inline-block">
<a href="/covid19ID/reference.html" class="nav-link">Referensi</a>
</li>
<li class="nav-item d-none d-sm-inline-block">
<a href="/covid19ID/contact_us.html" class="nav-link">Hubungi Kami</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container">
<div class="row mb-2">
<div class="col-sm-12" style="text-align: center;">
<h1 class="m-0 text-dark">Statistik Infeksi Virus Corona (Covid 19) di Indonesia</h1>
<h5>
<small class="tgl_update">Loading...</small>
<small style="color:blue"></br><b class="spec_msg">Loading...</b></small>
</h5>
</div>
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<div class="content">
<div class="container">
<div class="row">
<div class="col-lg-2 col-6">
<!-- small box -->
<div class="small-box bg-danger">
<div class="inner">
<h2 id="positif" style="text-align: center">Loading...</h2>
<p style="text-align: center;">(+<span id="positif_note">0</span>) Positif</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dpositif"></span></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-2 col-6">
<!-- small box -->
<div class="small-box bg-black">
<div class="inner">
<h2 style="text-align: center;"><span id="meninggal">Loading...</span></h2>
<p style="text-align: center;">(+<span id="meninggal_note">Loading...</span>) Meninggal</p>
</div>
<div class="icon">
<i class="ion ion-person-add" style="color:rgba(121, 145, 145, 0.274)"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dmeninggal"></span></a>
</div>
</div>
<div class="col-lg-2 col-6">
<div class="small-box bg-warning">
<div class="inner">
<h2 style="text-align: center;"><span id="ratio_meninggal">Loading...</span>%</h2>
<p style="text-align: center;">Rasio Kematian</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dratio"></span></a>
</div>
</div>
<div class="col-lg-2 col-6">
<div class="small-box bg-success">
<div class="inner">
<h2 id="sembuh" style="text-align: center;">Loading...</h2>
<p style="text-align: center;">(+<span id="sembuh_note">Loading...</span>) Sembuh</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dsembuh"></span></a>
</div>
</div>
<div class="col-lg-2 col-6">
<div class="small-box bg-success">
<div class="inner">
<h2 id="negatif" style="text-align: center;">Loading...</h2>
<p style="text-align: center;">(+<span id="negatif_note">Loading...</span>) Negatif</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dnegatif"></span></a>
</div>
</div>
<div class="col-lg-2 col-6">
<div class="small-box bg-info">
<div class="inner">
<h2 id="totaltes" style="text-align: center;">Loading...</h2>
<p style="text-align: center;">(+<span id="new_test">Loading...</span>) Total Test</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
</div>
<a href="#" target="_blank" class="small-box-footer">Last 30 Days <span id="30dtotaltest"></span></a>
</div>
</div>
</div>
<div class="row">
<section class="col-lg-12 connectedSortable">
<div class="card">
<div class="card-header border-0">
<div class="d-flex justify-content-between">
<h3 class="card-title"><i class="fas fa-spin fa-chart-pie mr-1"></i>Jumlah Kasus
Aktif</h3>
<p class="tgl_update">Loading...</p>
</div>
</div>
<div class="card-body">
<div class="d-flex">
<p class="d-flex flex-column">
<span class="text-bold text-lg">+<span id="new_case">Loading...</span></span>
<span>Jumlah Kasus Baru</span>
</p>
<p class="ml-auto d-flex flex-column text-right">
<span class="text-success text-bold text-lg">
<i class="fas fa-arrow-up"></i> <span
id="percentage_increase">Loading...</span>%
</span>
<span class="text-muted">Sejak hari sebelumnya</span>
</p>
</div>
<!-- /.d-flex -->
<div class="position-relative mb-4">
<canvas id="visitors-chart" height="200"></canvas>
</div>
<div class="d-flex flex-row justify-content-end">
<!-- <span class="mr-2">
<i class="fas fa-square text-yellow"></i> Jumlah Akumulatif
</span>
<span class="mr-2">
<i class="fas fa-square text-red"></i> Jumlah Meninggal
</span> -->
<span class="mr-2">
<i class="fas fa-square text-blue"></i> Jumlah Kasus Aktif
</span>
<!-- <span class="mr-2">
<i class="fas fa-square text-green"></i> Jumlah Sembuh
</span> -->
</div>
</div>
</div>
</section>
</div>
<div class="row">
<section class="col-lg-12 connectedSortable">
<div class="row">
<div class="col-md-3 col-sm-6 col-12">
<div class="info-box bg-danger">
<span class="info-box-icon"><i class="ion ion-person-add"></i></span>
<div class="info-box-content">
<span class="info-box-text">Kasus Terkonfirmasi Dunia</span>
<span class="info-box-number" id="world_cases_all">Loading...</span>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-12">
<div class="info-box bg-warning">
<span class="info-box-icon"><i class="ion ion-person-add"></i></span>
<div class="info-box-content">
<span class="info-box-text">Kasus Aktif Dunia</span>
<span class="info-box-number" id="world_cases_active">Loading...</span>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-12">
<div class="info-box bg-black">
<span class="info-box-icon"><i class="ion ion-person-add"></i></span>
<div class="info-box-content">
<span class="info-box-text">Kasus Kematian Dunia</span>
<span class="info-box-number" id="world_cases_death">Loading...</span>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-12">
<div class="info-box bg-success">
<span class="info-box-icon"><i class="ion ion-person-add"></i></span>
<div class="info-box-content">
<span class="info-box-text">Kasus Sembuh Dunia</span>
<span class="info-box-number" id="world_cases_recovered">Loading...</span>
</div>
</div>
</div>
</div>
</section>
</div>
<div class="row">
<section class="col-lg-12 connectedSortable">
<div class="card">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-spin fa-chart-pie mr-1"></i>
Pandemik Global
</h3>
</div><!-- /.card-header -->
<div class="card-body">
<div class='tableauPlaceholder' id='viz1586105390978' style='position: relative'>
<noscript><a href='#'><img alt=' '
src='https://public.tableau.com/static/images/In/IndonesiaVSASEAN/DashboardASEAN/1_rss.png'
style='border: none' /></a></noscript><object class='tableauViz'
style='display:none;'>
<param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' />
<param name='embed_code_version' value='3' />
<param name='site_root' value='' />
<param name='name' value='IndonesiaVSASEAN/DashboardASEAN' />
<param name='tabs' value='no' />
<param name='toolbar' value='yes' />
<param name='static_image'
value='https://public.tableau.com/static/images/In/IndonesiaVSASEAN/DashboardASEAN/1.png' />
<param name='animate_transition' value='yes' />
<param name='display_static_image' value='yes' />
<param name='display_spinner' value='yes' />
<param name='display_overlay' value='yes' />
<param name='display_count' value='yes' /></object></div>
<script type='text/javascript'>
var divElement = document.getElementById('viz1586105390978');
var vizElement = divElement.getElementsByTagName('object')[0];
vizElement.style.width = '100%';
vizElement.style.height = (divElement.offsetWidth * 0.75) + 'px';
var scriptElement = document.createElement('script');
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
vizElement.parentNode.insertBefore(scriptElement, vizElement);
</script>
<div class='tableauPlaceholder' id='viz1586104310607' style='position: relative'>
<noscript><a href='#'><img alt=' '
src='https://public.tableau.com/static/images/In/IndonesiaVSASEAN/DashboardWorld/1_rss.png'
style='border: none' /></a></noscript><object class='tableauViz'
style='display:none;'>
<param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' />
<param name='embed_code_version' value='3' />
<param name='site_root' value='' />
<param name='name' value='IndonesiaVSASEAN/DashboardWorld' />
<param name='tabs' value='no' />
<param name='toolbar' value='yes' />
<param name='static_image'
value='https://public.tableau.com/static/images/In/IndonesiaVSASEAN/DashboardWorld/1.png' />
<param name='animate_transition' value='yes' />
<param name='display_static_image' value='yes' />
<param name='display_spinner' value='yes' />
<param name='display_overlay' value='yes' />
<param name='display_count' value='yes' /></object></div>
<script type='text/javascript'>
var divElement2 = document.getElementById('viz1586104310607');
var vizElement2 = divElement2.getElementsByTagName('object')[0];
vizElement2.style.width = '100%';
vizElement2.style.height = (divElement2.offsetWidth * 0.75) + 'px';
var scriptElement2 = document.createElement('script');
scriptElement2.src =
'https://public.tableau.com/javascripts/api/viz_v1.js';
vizElement2.parentNode.insertBefore(scriptElement2, vizElement2);
</script>
</div>
</div>
</section>
</div>
<div class="row">
<section class="col-lg-12 connectedSortable">
<div class="card">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-spin fa-globe-asia mr-1"></i>
Peta Persebaran Virus
</h3>
</div>
<div class="card-body">
<div class="tab-content p-0">
<div class="chart tab-pane active" id="containerMap"
style="position: relative; height: 100%;">
<div id="containerMap"></div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h3 class="card-title"><i class="fas fa-table mr-1"></i>Persebaran Kasus di Tiap
Provinsi Indonesia</h3>
</div>
<!-- /.card-header -->
<div id="tabel_kasus_provinsi" class="card-body table-responsive"></div>
<!-- /.card-body -->
</div>
<div class="card">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-eye mr-1"></i>
Visitors
</h3>
</div>
<div class="card-body" style="text-align: center;">
<a href="https://info.flagcounter.com/l71C"><img
src="https://s11.flagcounter.com/count2/l71C/bg_FFFFFF/txt_000000/border_CCCCCC/columns_5/maxflags_100/viewers_0/labels_1/pageviews_1/flags_1/percent_0/"
alt="Free counters!" border="0"></a>
</div>
</div>
</section>
</div>
</div><!-- /.container-fluid -->
</div>
<!-- Main Footer -->
<footer class="main-footer">
<!-- To the right -->
<div class="float-right d-none d-sm-inline">
<p>Dev by <a href="https://www.linkedin.com/in/idilhaq">idilhaq</a> | <a
href="https://www.linkedin.com/in/jakayuhenda">jaka.yuhenda</a></p>
</div>
<!-- Default to the left -->
<strong>Copyright © 2014-2019 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights
<a href="/covid19ID/index_m.html">reserved</a>.
</footer>
</div>
</div>
<!-- jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- sparkline -->
<script src="dist/js/jquery.sparkline.min.js"></script>
<script>
var data_30dpositif = [17384,20741,15768,22053,20004,16744,12408,9604,19106,18671,16899,12618,10050,7427,5436];
var data_30dmeninggal = [1245,1180,1128,1492,1348,1361,1030,842,1038,1041,889,599,591,551,568];
var data_30dratio = [3.07,3.08,3.10,3.12,3.14,3.16,3.18,3.19,3.20,3.21,3.22,3.22,3.23,3.24,3.25];
var data_30dsembuh = [29925,32225,29794,29012,26122,23011,24276,24758,35082,33703,30099,19290,18594,16468,19398];
var data_30dnegatif = [60993,80685,62858,93055,93843,99562,72808,64720,104738,128117,111724,94903,94264,85104,72619];
var data_30dtotaltest = [78377,101426,78626,115108,113847,116306,85216,74324,123844,146788,128623,107521,104314,92531,78055];
$('#30dpositif').sparkline(data_30dpositif, {type: 'bar', barColor: '#ffffff'});
$('#30dmeninggal').sparkline(data_30dmeninggal, {type: 'bar', barColor: '#ffffff'});
$('#30dratio').sparkline(data_30dratio, {type: 'bar', barColor: '#ffffff'});
$('#30dsembuh').sparkline(data_30dsembuh, {type: 'bar', barColor: '#ffffff'});
$('#30dnegatif').sparkline(data_30dnegatif, {type: 'bar', barColor: '#ffffff'});
$('#30dtotaltest').sparkline(data_30dtotaltest, {type: 'bar', barColor: '#ffffff'});
</script>
<!-- jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- PapaParse -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.min.js"></script>
<!-- Bootstrap -->
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE -->
<script src="dist/js/adminlte.js"></script>
<script src="https://code.highcharts.com/maps/highmaps.js"></script>
<script src="https://code.highcharts.com/maps/modules/exporting.js"></script>
<script src="https://code.highcharts.com/mapdata/countries/id/id-all.js"></script>
<script src="plugins/chart.js/Chart.min.js"></script>
<script src="dist/js/demo.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/1.0.9/jquery.csv.min.js"></script>
<script src="data_default.js"></script>
<script src="data.js"></script>
</body>
</html>