-
Notifications
You must be signed in to change notification settings - Fork 37
/
deceases.html
300 lines (272 loc) · 12.8 KB
/
deceases.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
<!doctype html>
<html lang="es">
<head>
<title>Covid19 - Dashboard Cuba </title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta property="og:title" content="Covid19 - Dashboard Cuba" />
<meta property="og:description"
content="Visualice los datos relacionados con Covid19 en Cuba a partir de la información oficial del MINSAP que es reportada al día siguiente." />
<meta property="og:image" content="http://www.acn.cu/images/2020/ABRIL/0-10-cubadata.jpg" />
<meta property="og:locale" content="es_ES" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://covid19cubadata.github.io" />
<link rel="icon" href="favico.jpeg">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/leaflet.css" />
<link href="css/fontawesome-5.8.2/css/all.css" rel="stylesheet">
<link href="css/c3.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
</head>
<body>
<div id="navbar"></div>
<div id="general" class="container-fluid">
<form class="card form-inline">
<div class="card-body" style="padding: 6px 5px">
<div class="form-group mb-0">
<label for="location-select">Seleccione una región</label>
<select id="location-select" class="form-control text-center ml-md-1" style="margin-top: 0px">
<option value="cuba">Cuba</option>
</select>
</div>
</div>
</form>
<div class="d-block d-sm-none">
<table class="table">
<tr class="bg-light">
<th>Actualización</th>
<td data-content="update"><i class="fa fa-spinner fa-spin"></i></td>
</tr>
<tr class="bg-dark text-white">
<th>Fallecidos</th>
<td data-content="fallec"><i class="fa fa-spinner fa-spin"></i></td>
</tr>
<tr class="bg-dark text-white">
<th>Días sin fallecidos</th>
<td data-content="nofallecd"><i class="fa fa-spinner fa-spin"></i></td>
</tr>
</table>
</div>
<div id="stats-cards" class="d-none d-sm-block">
<div class="card-deck">
<section class="card text-center">
<div class="card-body" data-content="update">
<i class="fa fa-spinner fa-spin"></i>
</div>
<h2 class="card-header h5">
Actualización
</h2>
</section>
<section class="card text-center bg-dark text-white">
<div class="card-body" data-content="fallec">
<i class="fa fa-spinner fa-spin"></i>
</div>
<h2 class="card-header h5">
Fallecidos
</h2>
</section>
<section class="card text-center bg-dark text-white">
<div class="card-body" data-content="nofallecd">
<i class="fa fa-spinner fa-spin"></i>
</div>
<h2 class="card-header h5">
Días desde el último fallecido
</h2>
</section>
</div>
</div>
</div>
<div id="top-row" class="container-fluid">
<div class="row">
<div class="col-md-12">
<div id="geodist" class="card common-bg">
<div class="card-header">
<form class="form-inline my-0">
<label for="select-map" class="mr-1">Distribución de fallecidos por</label>
<select id="select-map" class="form-control form-control-sm">
<option select value="map-mun">Municipios</option>
<option value="map-pro">Provincias</option>
</select>
</form>
</div>
<div class="card-body p-0 pt-1 pb-1">
<div id="map-container">
<div id="map-mun"></div>
<div id="map-legend-container">
<div class="map-legend">
0 casos
<i id="cases0" class="main-text fa fa-square"></i>
<i id="cases1" class="main-text fa fa-square"></i>
<i id="cases2" class="main-text fa fa-square"></i>
<i id="cases3" class="main-text fa fa-square"></i>
<i id="cases4" class="main-text fa fa-square"></i>
<i id="cases5" class="main-text fa fa-square"></i>
<span id="cases">#</span> casos
</div>
</div>
<div class="map-quote">
* el cuadrado representa a aquellos casos que por distintas razones no tengan
localización
conocida <br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card-deck">
<section id="casdist" class="card common-bg">
<div class="card-header">Evolución de fallecidos por días</div>
<div class="card-body">
<div id="daily-single-info"></div>
</div>
</section>
</div>
<div id="line-charts" class="container-fluid">
<div class="card-deck card-deck-2">
<!-- <section id="casdist" class="card common-bg">
<div class="card-header">Evolución de fallecidos por días</div>
<div class="card-body">
<div id="daily-single-info"></div>
</div>
</section>
<div class="w-100 d-none d-sm-block d-lg-none"></div>
<section id="sexdist" class="card common-bg">
<div class="card-header">Fallecidos por Sexo</div>
<div class="card-body">
<div id="fsex-info"></div>
</div>
</section>
<div class="w-100 d-none d-sm-block"></div>
<section id="agedist" class="card common-bg ">
<div class="card-header">Distribución de fallecidos por rangos etarios</div>
<div class="card-body">
<div id="ages-info"></div>
</div>
</section>
<div class="w-100 d-none d-sm-block d-lg-none"></div>
<section id="homdist" class="card common-bg ">
<div class="card-header">Fallecidos por nacionalidad</div>
<div class="card-body">
<div id="countries-info-pie"></div>
</div>
</section>
<div class="w-100 d-none d-sm-block"></div>
<section id="disdist" class="card common-bg ">
<div class="card-header">Distribución de la cantidad de antecedentes de enfermedad por fallecido</div>
<div class="card-body">
<div id="dis-quantity-pie"></div>
</div>
</section>
<div class="w-100 d-none d-sm-block d-lg-none"></div>
<section id="disbar" class="card common-bg ">
<div class="card-header">Antecedentes de enfermedad más comunes en los fallecidos</div>
<div class="card-body">
<div id="dis-bar"></div>
</div>
</section> -->
<div class="w-100 d-none d-sm-block"></div>
<section id="topprov" class="card common-bg ">
<div class="card-header">Provincias Afectadas</div>
<div class="card-body p-0">
<table id="table-pro" class="table table-striped table-sm mb-0">
<thead>
<tr>
<th>#</th>
<th>Provincia</th>
<th>Fallecidos</th>
<th>% del total de fallecidos</th>
<th>Tasa (por 100 mil hab.)</th>
</tr>
</thead>
<tbody></tbody>
</table>
<div class="map-quote">
* los datos de población son los del Anuario Estadístico de Cuba 2018 ed. 2019
</div>
</div>
</section>
<div class="w-100 d-none d-sm-block d-lg-none"></div>
<section id="topmuni" class="card common-bg ">
<div class="card-header">Top - Municipios Afectados</div>
<div class="card-body p-0">
<table id="table-mun" class="table table-striped table-sm mb-0">
<thead>
<tr>
<th>#</th>
<th>Municipio</th>
<th>Fallecidos</th>
<th>% del total de fallecidos</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
</div>
</div>
<div id="national-comparison" class="container-fluid">
<div class="card-deck">
<section id="proscurves" class="card common-bg">
<div class="card-header">
<form action="" class="my-0">
<p class="mb-1">Comparación de los fallecidos acumulados por provincias</p>
<div class="row">
<div class="col-6">
<select id="proscurve-select1" class="form-control form-control-sm mr-1"></select>
</div>
<div class="col-6">
<select id="proscurve-select2" class="form-control form-control-sm ml-1"></select>
</div>
</div>
</form>
</div>
<div class="card-body">
<div id="provinces-curve"></div>
</div>
</section>
<section id="munscurves" class="card common-bg">
<div class="card-header">
<p class="mb-1">Comparación de los fallecidos acumulados por municipios</p>
<div class="row">
<div class="col-6">
<select id="munscurve-select1" class="form-control form-control-sm"></select>
</div>
<div class="col-6">
<select id="munscurve-select2" class="form-control form-control-sm"></select>
</div>
</div>
</div>
<div class="card-body">
<div id="municipalyties-curve"></div>
</div>
</section>
</div>
<!-- -->
</div>
</div>
<div id="footer"></div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript">
window.jQuery || document.write('<script type="text/javascript" src="js/jquery.min.js"><\/script>')
</script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/leaflet.js"></script>
<script type="text/javascript" src="js/d3.min.js"></script>
<script type="text/javascript" src="js/c3.js"></script>
<script type="text/javascript" src="js/deceases.js"></script>
<script type="text/javascript">
$("#navbar").load('navbar.html', function () {
$(".nav-item").removeClass("active");
$("#fallecidos").addClass("active")
})
$("#footer").load('footer.html')
</script>
</body>
</html>