-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_scrap.py
executable file
·8117 lines (7679 loc) · 374 KB
/
test_scrap.py
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
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
html = """
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coronavirus Update (Live): 856,376 Cases and 42,087 Deaths from COVID-19 Virus Outbreak - Worldometer</title>
<meta name="description" content="Live statistics and coronavirus news tracking the number of confirmed cases, recovered patients, and death toll by country due to the COVID 19 coronavirus from Wuhan, China. Coronavirus counter with new cases, historical data, and info. Daily charts, graphs, news and updates">
<link rel="shortcut icon" href="/favicon/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta property="og:image" content="http://www.worldometers.info/img/worldometers-fb.jpg" />
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/wm16.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/ie10-viewport-bug-workaround.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css" />
<script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js"></script>
<script type="text/javascript" class="init">
$.extend( $.fn.dataTable.defaults, {
responsive: true
} );
$(document).ready(function() {
$('#example2').dataTable( {
"scrollCollapse": true,
"sDom": '<"bottom"flp><"clear">',
"paging": false
} );
} );
</script>
<script type="text/javascript" class="init">
$.extend( $.fn.dataTable.defaults, {
responsive: true
} );
$(document).ready(function() {
$('#table3').dataTable( {
"scrollCollapse": true,
"order": [[ 1, 'desc' ]],
"sDom": '<"bottom"flp><"clear">',
"paging": false
} );
} );
</script>
<script type="text/javascript" class="init">
$.extend( $.fn.dataTable.defaults, {
responsive: true
} );
$(document).ready(function() {
$('#example').dataTable( {
"scrollCollapse": true,
"searching": false,
"sDom": '<"top">rt<"bottom"flp><"clear">',
"paging": false
} );
} );
</script>
<script type="text/javascript" class="init">
$(document).ready(function() {
$('#popbycountry').dataTable();
} );
</script>
<script data-cfasync="false" type="text/javascript">
var freestar = freestar || {};
freestar.hitTime = Date.now();
freestar.queue = freestar.queue || [];
freestar.config = freestar.config || {};
freestar.debug = window.location.search.indexOf('fsdebug') === -1 ? false : true;
freestar.config.enabled_slots = [];
!function(a,b){var c=b.getElementsByTagName("script")[0],d=b.createElement("script"),e="https://a.pub.network/worldometers-info";e+=freestar.debug?"/qa/pubfig.min.js":"/pubfig.min.js",d.async=!0,d.src=e,c.parentNode.insertBefore(d,c)}(window,document);
</script>
</head>
<body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1438574-2', 'auto');
ga('send', 'pageview');
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1438574-30"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-1438574-30');
</script>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#efefef",
"text": "#404040"
},
"button": {
"background": "#8ec760",
"text": "#ffffff"
}
},
"theme": "classic",
"content": {
"href": "http://www.worldometers.info/policy/"
}
})});
</script> <style type="text/css">
.style1 {
color: #666666
}
</style>
<div class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<div class="logo"><a href="/" class="navbar-brand"><img src="/img/worldometers-logo.gif" border="0" title="Worldometer"></a></div>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<ul class="nav navbar-nav">
<li><a href="/coronavirus/"><span style="color:#FF9900; font-weight:bold">Coronavirus</span></a></li>
<li><a href="/population/">Population</a></li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div style="margin-top:20px; margin-bottom:40px; text-align: left">
<div align="left" id="worldometers_728x90_970x90_320x50_Top">
<script data-cfasync="false" type="text/javascript">
freestar.config.enabled_slots.push({ placementName: "worldometers_728x90_970x90_320x50_Top", slotId: "worldometers_728x90_970x90_320x50_Top" });
</script>
</div>
</div>
</div>
<div class="row"> <div class="col-md-8">
<div class="content-inner">
<style>
.number-table {
font-size: 20px;
font-weight: bold
}
.number-table-main {
font-size: 24px;
font-weight: bold
}
</style>
<script src="https://code.highcharts.com/highcharts.js"></script>
<style type="text/css">
<!--
.source { }
.style2 {
color: #FF0000
}
.style4 {
color: #FF0000;
font-weight: bold;
}
.style6 {
font-size: 12px;
color: #bbb;
font-weight: bold;
}
.source1 {
font-size: 12px;
color: #bbb;
}
.source1 {
font-size: 12px;
color: #bbb;
}
.source11 {
font-size: 12px;
color: #bbb;
} .source111 {
} .source1111 {
font-size: 12px;
color: #bbb;
}
-->
</style>
<div class="label-counter" id="page-top">COVID-19 Coronavirus Pandemic</div>
<div style="font-size:13px; color:#999; text-align:center">Last updated: March 31, 2020, 23:20 GMT</div>
<div style="margin-top:20px; text-align:center; font-size:14px"><a href="/coronavirus/coronavirus-cases/"> Case Graphs</a> - <a href="/coronavirus/coronavirus-death-toll/">Death Graphs</a> - <a href="#countries">Countries</a> - <a href="/coronavirus/coronavirus-death-rate/">Death Rate</a> - <a href="/coronavirus/coronavirus-incubation-period/">Incubation</a> - <a href="/coronavirus/coronavirus-age-sex-demographics/">Age</a> - <a href="/coronavirus/coronavirus-symptoms/">Symptoms</a> - <a href="#news">News</a></div>
<div id="maincounter-wrap" style="margin-top:15px">
<h1>Coronavirus Cases:</h1>
<div class="maincounter-number">
<span style="color:#aaa">856,376 </span>
</div>
</div>
<div style="text-align:center "><a href="#countries">view by country</a></div>
<div id="maincounter-wrap" style="margin-top:15px">
<h1>Deaths:</h1>
<div class="maincounter-number">
<span>42,087</span>
</div>
</div>
<div id="maincounter-wrap" style="margin-top:15px;">
<h1>Recovered:</h1>
<div class="maincounter-number" style="color:#8ACA2B ">
<span>177,023</span>
</div>
</div>
<div style="margin-top:50px;"></div>
<style>
.panel_flip {
position: relative;
height: 100%;
}
.panel_front {
height: inherit;
position: absolute;
top: 0;
-webkit-transform: rotateX(0deg) rotateY(0deg);
-moz-transform: rotateX(0deg) rotateY(0deg);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transition: all .4s ease-in-out;
-moz-transition: all .4s ease-in-out;
-ms-transition: all .4s ease-in-out;
-o-transition: all .4s ease-in-out;
transition: all .4s ease-in-out;
}
.panel_back {
height: inherit;
position: absolute;
top: 0;
-webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transition: all .4s ease-in-out;
-moz-transition: all .4s ease-in-out;
-ms-transition: all .4s ease-in-out;
-o-transition: all .4s ease-in-out;
transition: all .4s ease-in-out;
}
.panel_flip.flip .panel_front {
z-index: 900;
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
}
.panel_flip.flip .panel_back {
z-index: 1000;
-webkit-transform: rotateX(0deg) rotateY(0deg);
-moz-transform: rotateX(0deg) rotateY(0deg);
}
</style>
<script>
$(function() {
$('.flip_cases_front').on('click', function() {
$(this).parent().parent().addClass('flip');
});
$('.flip_cases_back').on('click', function() {
$(this).parent().parent().removeClass('flip');
});
});
</script>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading" style="text-align:center">
<span class="panel-title" style="font-size:18px; text-transform:uppercase; font-weight:100">
Active Cases
</span>
</div>
<div class="panel-body" style="text-align:center; height:200px;">
<div class="panel_flip">
<div class="panel_front" style="width:100%;height:100%;">
<div class="number-table-main">637,266</div>
<div style="font-size:13.5px">Currently Infected Patients</div>
<div style="padding-top:20px;position:relative;text-align:center; ">
<div style="float:left; text-align:center">
<span class="number-table" style="color:#8080FF">604,979</span> (<strong>95</strong>%)
<div style="font-size:13px">in Mild Condition</div><br>
</div>
<div style="float:right; text-align:center"><span class="number-table" style="color:red ">32,287</span> (<strong>5</strong>%)
<div style="font-size:13px">Serious or Critical</div><br>
</div>
</div>
<a class="flip_cases_front" href="javascript: void(0);" style="clear: both;display: block;position:absolute;bottom:-8px;width:100%;">Show Graph</a>
</div>
<div class="panel_back" style="width:100%;height:100%;">
<div id="total-currently-infected-linear"></div>
<script type="text/javascript">
Highcharts.setOptions({
lang: {
thousandsSep: ','
}
});
var y_labels = ['0', '20,000', '40,000', '60,000', '140', '180', '200', '240'];
Highcharts.chart('total-currently-infected-linear', {
chart: {
type: 'line',
height: (9 / 16 * 100) + '%'
},
title: {
text: null
},
/*subtitle: {
text: '(Number of Infected People)'
},*/
xAxis: {
categories: ["Jan 22","Jan 23","Jan 24","Jan 25","Jan 26","Jan 27","Jan 28","Jan 29","Jan 30","Jan 31","Feb 01","Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"]
},
yAxis: {
title: {
text: 'Currently Infected',
enabled: false
}
/*tickInterval: 20000,*/
/*categories: [0,50000],
labels: {
format: "{value:,.%0f}"
}*/
/*labels: {
step: 15
}*/
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
enabled: false
},
credits: {
enabled: false
},
plotOptions: {
line: {
marker: {
enabled: false
}
}
},
series: [{
name: 'Currently Infected',
color: '#00DDDD',
lineWidth: 5,
data: [563,786,1238,1910,2669,4415,5823,7519,9439,11448,13921,16525,19561,23146,26528,29239,32069,34055,36320,38038,39216,52039,56247,57378,57990,58581,58747,58622,57217,55906,54418,53541,51596,49922,48014,46215,43734,42262,41297,40413,39218,38870,38505,39433,40947,42328,43886,46300,48031,53279,59168,67413,74717,85544,95623,107556,124459,146709,172591,196473,224192,260248,294801,335525,383850,435964,490313,538013,581578] }],
responsive: {
rules: [{
condition: {
maxWidth: 800
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
</script>
<a class="flip_cases_back" href="javascript: void(0);" style="clear: both;position: absolute;width:100%;bottom:-8px;left:0;">Show Statistics</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading" style="text-align:center;">
<span class="panel-title" style="font-size:18px; text-transform:uppercase; font-weight:100">
Closed Cases</span></div>
<div class="panel-body" style="text-align:center;height:200px;">
<div class="panel_flip">
<div class="panel_front" style="width:100%;height:100%;">
<div class="number-table-main">219,110</div>
<div style="font-size:13.5px">Cases which had an outcome:</div>
<div style="padding-top:20px ">
<div style="float:left; text-align:center">
<span class="number-table" style="color:#8ACA2B">177,023</span>
(<strong>81</strong>%)
<div style="font-size:13px">Recovered / Discharged</div><br>
</div>
<div style="float:right; text-align:center"><span class="number-table">
42,087</span>
(<strong>19</strong>%)
<div style="font-size:13px">Deaths</div><br>
</div>
</div>
<a class="flip_cases_front" href="javascript: void(0);" style="clear: both;display: block;position:absolute;bottom:-8px;width:100%;">Show Graph</a>
</div>
<div class="panel_back" style="width:100%;height:100%;">
<div id="deaths-cured-outcome-small"></div>
<script type="text/javascript">
Highcharts.chart('deaths-cured-outcome-small', {
chart: {
type: 'line',
height: (9 / 16 * 100) + '%'
},
title: {
text: ''
},
tooltip: {
pointFormat: '{series.name}: <b>{point.y:.2f}%</b>'
},
/* subtitle: {
text: '(Cumulative total deaths and recoveries over cumulative number of closed cases)'
},*/
xAxis: {
categories: ["Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"] },
yAxis: {
title: {
text: 'Percent (%)',
enabled: false
},
labels: {
format: "{value}%"
},
max: 100
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
enabled: false
},
credits: {
enabled: false
},
plotOptions: {
line :{
marker: {
enabled: false
}
}
},
series: [{
name: 'Death Rate',
color: '#FF9900',
lineWidth: 5,
data: [41.7999999999999971578290569595992565155029296875,39.85000000000000142108547152020037174224853515625,35.1700000000000017053025658242404460906982421875,32.50999999999999801048033987171947956085205078125,29,25.78999999999999914734871708787977695465087890625,23.25,21.5,20.1099999999999994315658113919198513031005859375,18.839999999999999857891452847979962825775146484375,17.39999999999999857891452847979962825775146484375,16.879999999999999005240169935859739780426025390625,15.699999999999999289457264239899814128875732421875,14.8900000000000005684341886080801486968994140625,13.9199999999999999289457264239899814128875732421875,12.839999999999999857891452847979962825775146484375,12.1300000000000007815970093361102044582366943359375,11.5,10.82000000000000028421709430404007434844970703125,10.1500000000000003552713678800500929355621337890625,9.800000000000000710542735760100185871124267578125,9.480000000000000426325641456060111522674560546875,8.949999999999999289457264239899814128875732421875,8.4199999999999999289457264239899814128875732421875,7.86000000000000031974423109204508364200592041015625,7.2599999999999997868371792719699442386627197265625,6.9000000000000003552713678800500929355621337890625,6.57000000000000028421709430404007434844970703125,6.3300000000000000710542735760100185871124267578125,6.0800000000000000710542735760100185871124267578125,5.910000000000000142108547152020037174224853515625,5.78000000000000024868995751603506505489349365234375,5.7400000000000002131628207280300557613372802734375,5.71999999999999975131004248396493494510650634765625,5.63999999999999968025576890795491635799407958984375,5.79000000000000003552713678800500929355621337890625,5.910000000000000142108547152020037174224853515625,6.05999999999999960920149533194489777088165283203125,6.3499999999999996447286321199499070644378662109375,6.61000000000000031974423109204508364200592041015625,6.95999999999999996447286321199499070644378662109375,7.12999999999999989341858963598497211933135986328125,7.7599999999999997868371792719699442386627197265625,8.25,8.8100000000000004973799150320701301097869873046875,9.4900000000000002131628207280300557613372802734375,10.21000000000000085265128291212022304534912109375,11.0600000000000004973799150320701301097869873046875,11.9900000000000002131628207280300557613372802734375,12.92999999999999971578290569595992565155029296875,13.92999999999999971578290569595992565155029296875,14.78999999999999914734871708787977695465087890625,15.71000000000000085265128291212022304534912109375,16.260000000000001563194018672220408916473388671875,17.050000000000000710542735760100185871124267578125,17.8599999999999994315658113919198513031005859375,18.379999999999999005240169935859739780426025390625,18.589999999999999857891452847979962825775146484375] },
{
name: 'Recovery Rate',
color: '#8ACA2B',
lineWidth: 5,
data: [58.2000000000000028421709430404007434844970703125,60.14999999999999857891452847979962825775146484375,64.8299999999999982946974341757595539093017578125,67.4899999999999948840923025272786617279052734375,71,74.2099999999999937472239253111183643341064453125,76.75,78.5,79.8900000000000005684341886080801486968994140625,81.159999999999996589394868351519107818603515625,82.599999999999994315658113919198513031005859375,83.1200000000000045474735088646411895751953125,84.2999999999999971578290569595992565155029296875,85.1099999999999994315658113919198513031005859375,86.0799999999999982946974341757595539093017578125,87.159999999999996589394868351519107818603515625,87.8700000000000045474735088646411895751953125,88.5,89.18000000000000682121026329696178436279296875,89.849999999999994315658113919198513031005859375,90.2000000000000028421709430404007434844970703125,90.5199999999999960209606797434389591217041015625,91.0499999999999971578290569595992565155029296875,91.5799999999999982946974341757595539093017578125,92.1400000000000005684341886080801486968994140625,92.7399999999999948840923025272786617279052734375,93.099999999999994315658113919198513031005859375,93.43000000000000682121026329696178436279296875,93.6700000000000017053025658242404460906982421875,93.9200000000000017053025658242404460906982421875,94.090000000000003410605131648480892181396484375,94.219999999999998863131622783839702606201171875,94.2600000000000051159076974727213382720947265625,94.280000000000001136868377216160297393798828125,94.3599999999999994315658113919198513031005859375,94.2099999999999937472239253111183643341064453125,94.090000000000003410605131648480892181396484375,93.93999999999999772626324556767940521240234375,93.650000000000005684341886080801486968994140625,93.3900000000000005684341886080801486968994140625,93.0400000000000062527760746888816356658935546875,92.8700000000000045474735088646411895751953125,92.2399999999999948840923025272786617279052734375,91.75,91.18999999999999772626324556767940521240234375,90.5100000000000051159076974727213382720947265625,89.7900000000000062527760746888816356658935546875,88.93999999999999772626324556767940521240234375,88.0100000000000051159076974727213382720947265625,87.06999999999999317878973670303821563720703125,86.06999999999999317878973670303821563720703125,85.2099999999999937472239253111183643341064453125,84.2900000000000062527760746888816356658935546875,83.7399999999999948840923025272786617279052734375,82.9500000000000028421709430404007434844970703125,82.1400000000000005684341886080801486968994140625,81.6200000000000045474735088646411895751953125,81.409999999999996589394868351519107818603515625] }
],
responsive: {
rules: [{
condition: {
maxWidth: 400
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
</script>
<a class="flip_cases_back" href="javascript: void(0);" style="clear: both;position: absolute;width:100%;bottom:-8px;left:0;">Show Statistics</a>
</div>
</div>
</div>
</div>
</div>
<div style="margin-top:40px; clear: both;">
<div class="col-md-6" style="margin-bottom:20px">
<style>
/* Tabs panel */
.tabbable-panel-cases {
border: 1px solid #ccc;
padding: 10px;
}
/* Default mode */
.tabbable-line-cases>.nav-tabs {
border: none;
margin: 0px;
}
.tabbable-line-cases>.nav-tabs>li {
margin-right: 2px;
}
.tabbable-line-cases>.nav-tabs>li>a {
border: 0;
margin-right: 0;
color: #737373;
font-size: 13px;
text-decoration: none !important;
}
.tabbable-line-cases>.nav-tabs>li>a>i {
color: #a6a6a6;
}
.tabbable-line-cases>.nav-tabs>li.open,
.tabbable-line-cases>.nav-tabs>li:hover {
border-bottom: 3px solid #fbcdcf;
}
.tabbable-line-cases>.nav-tabs>li.open>a,
.tabbable-line-cases>.nav-tabs>li:hover>a {
border: 0;
background: none !important;
color: #333333;
}
.tabbable-line-cases>.nav-tabs>li.open>a>i,
.tabbable-line-cases>.nav-tabs>li:hover>a>i {
color: #77DDFF;
}
.tabbable-line-cases>.nav-tabs>li.open .dropdown-menu,
.tabbable-line-cases>.nav-tabs>li:hover .dropdown-menu {
margin-top: 0px;
}
.tabbable-line-cases>.nav-tabs>li.active {
border-bottom: 3px solid #33CCFF;
position: relative;
}
.tabbable-line-cases>.nav-tabs>li.active>a {
border: 0;
color: #333333;
}
.tabbable-line-cases>.nav-tabs>li.active>a>i {
color: #404040;
}
.tabbable-line-cases>.tab-content {
margin-top: -3px;
background-color: #fff;
border: 0;
border-top: 1px solid #eee;
padding: 15px 0;
}
.portlet .tabbable-line-cases>.tab-content {
padding-bottom: 0;
}
</style>
<div class="tabbable-panel-cases">
<div class="tabbable-line-cases">
<ul class="nav nav-tabs ">
<li class="active">
<a href="#coronavirus-cases-linear" data-toggle="tab">
linear </a>
</li>
<li>
<a href="#coronavirus-cases-log" data-toggle="tab">
logarithmic </a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="coronavirus-cases-linear">
</div>
<div class="tab-pane" id="coronavirus-cases-log">
</div>
</div>
</div>
</div>
<script type="text/javascript">
Highcharts.chart('coronavirus-cases-linear', {
chart: {
type: 'line'
},
title: {
text: 'Total Cases'
},
subtitle: {
text: '(Linear Scale)'
},
xAxis: {
categories: ["Jan 22","Jan 23","Jan 24","Jan 25","Jan 26","Jan 27","Jan 28","Jan 29","Jan 30","Jan 31","Feb 01","Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"] },
yAxis: {
title: {
text: 'Total Coronavirus Cases'
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
credits: {
enabled: false
},
series: [{
name: 'Cases',
color: '#33CCFF',
lineWidth: 5,
data: [580,845,1317,2015,2800,4581,6058,7813,9823,11950,14553,17391,20630,24545,28266,31439,34876,37552,40553,43099,45134,59287,64438,67100,69197,71329,73332,75184,75700,76677,77673,78651,79205,80087,80828,81820,83112,84615,86604,88585,90443,93016,95314,98425,102050,106099,109991,114381,118948,126214,134509,145416,156475,169517,182414,198159,218744,244902,275550,304979,337459,378830,422574,471035,531865,596366,663127,723390,784738] }],
responsive: {
rules: [{
condition: {
maxWidth: 800
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
Highcharts.chart('coronavirus-cases-log', {
chart: {
type: 'line'
},
title: {
text: 'Total Cases'
},
subtitle: {
text: '(Logarithmic Scale)'
},
xAxis: {
categories: ["Jan 22","Jan 23","Jan 24","Jan 25","Jan 26","Jan 27","Jan 28","Jan 29","Jan 30","Jan 31","Feb 01","Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"] },
yAxis: {
title: {
text: 'Total Coronavirus Cases'
},
type: 'logarithmic'
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
credits: {
enabled: false
},
series: [{
name: 'Cases',
color: '#33CCFF',
lineWidth: 5,
data: [580,845,1317,2015,2800,4581,6058,7813,9823,11950,14553,17391,20630,24545,28266,31439,34876,37552,40553,43099,45134,59287,64438,67100,69197,71329,73332,75184,75700,76677,77673,78651,79205,80087,80828,81820,83112,84615,86604,88585,90443,93016,95314,98425,102050,106099,109991,114381,118948,126214,134509,145416,156475,169517,182414,198159,218744,244902,275550,304979,337459,378830,422574,471035,531865,596366,663127,723390,784738] }],
responsive: {
rules: [{
condition: {
maxWidth: 800
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
</script>
<div style=" font-size:16px; margin-top:20px; margin-bottom:20px">
<div style="text-align:center;"><a href="/coronavirus/coronavirus-cases/"><strong>More Case Statistics</strong></a>
</div>
</div>
</div>
<div class="col-md-6">
<style>
/* Tabs panel */
.tabbable-panel-deaths {
border: 1px solid #ccc;
padding: 10px;
}
/* Default mode */
.tabbable-line-deaths>.nav-tabs {
border: none;
margin: 0px;
}
.tabbable-line-deaths>.nav-tabs>li {
margin-right: 2px;
}
.tabbable-line-deaths>.nav-tabs>li>a {
border: 0;
margin-right: 0;
color: #737373;
font-size: 13px;
text-decoration: none !important;
}
.tabbable-line-deaths>.nav-tabs>li>a>i {
color: #a6a6a6;
}
.tabbable-line-deaths>.nav-tabs>li.open,
.tabbable-line-deaths>.nav-tabs>li:hover {
border-bottom: 3px solid #fbcdcf;
}
.tabbable-line-deaths>.nav-tabs>li.open>a,
.tabbable-line-deaths>.nav-tabs>li:hover>a {
border: 0;
background: none !important;
color: #333333;
}
.tabbable-line-deaths>.nav-tabs>li.open>a>i,
.tabbable-line-deaths>.nav-tabs>li:hover>a>i {
color: #77DDFF;
}
.tabbable-line-deaths>.nav-tabs>li.open .dropdown-menu,
.tabbable-line-deaths>.nav-tabs>li:hover .dropdown-menu {
margin-top: 0px;
}
.tabbable-line-deaths>.nav-tabs>li.active {
border-bottom: 3px solid #33CCFF;
position: relative;
}
.tabbable-line-deaths>.nav-tabs>li.active>a {
border: 0;
color: #333333;
}
.tabbable-line-deaths>.nav-tabs>li.active>a>i {
color: #404040;
}
.tabbable-line-deaths>.tab-content {
margin-top: -3px;
background-color: #fff;
border: 0;
border-top: 1px solid #eee;
padding: 15px 0;
}
.portlet .tabbable-line-deaths>.tab-content {
padding-bottom: 0;
}
</style>
<div class="tabbable-panel-deaths">
<div class="tabbable-line-deaths">
<ul class="nav nav-tabs ">
<li class="active">
<a href="#coronavirus-deaths-linear" data-toggle="tab">
linear </a>
</li>
<li>
<a href="#coronavirus-deaths-log" data-toggle="tab">
logarithmic </a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="coronavirus-deaths-linear">
</div>
<div class="tab-pane" id="coronavirus-deaths-log">
</div>
</div>
</div>
</div>
<script type="text/javascript">
Highcharts.chart('coronavirus-deaths-linear', {
chart: {
type: 'line'
},
title: {
text: 'Total Deaths'
},
subtitle: {
text: '(Linear Scale)'
},
xAxis: {
categories: ["Jan 22","Jan 23","Jan 24","Jan 25","Jan 26","Jan 27","Jan 28","Jan 29","Jan 30","Jan 31","Feb 01","Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"] },
yAxis: {
title: {
text: 'Total Coronavirus Deaths'
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
credits: {
enabled: false
},
series: [{
name: 'Deaths',
color: '#FF9900',
lineWidth: 5,
data: [17,25,41,56,80,106,132,170,213,259,304,362,426,492,565,638,724,813,910,1018,1115,1261,1383,1526,1669,1775,1873,2009,2126,2247,2360,2460,2618,2699,2763,2800,2858,2923,2977,3050,3117,3202,3285,3387,3494,3599,3827,4025,4296,4628,4981,5428,5833,6520,7162,7979,8951,10030,11386,13011,14640,16513,18894,21282,24073,27343,30861,34065,37773] }],
responsive: {
rules: [{
condition: {
maxWidth: 800
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
Highcharts.chart('coronavirus-deaths-log', {
chart: {
type: 'line'
},
title: {
text: 'Total Deaths'
},
subtitle: {
text: '(Logarithmic Scale)'
},
xAxis: {
categories: ["Jan 22","Jan 23","Jan 24","Jan 25","Jan 26","Jan 27","Jan 28","Jan 29","Jan 30","Jan 31","Feb 01","Feb 02","Feb 03","Feb 04","Feb 05","Feb 06","Feb 07","Feb 08","Feb 09","Feb 10","Feb 11","Feb 12","Feb 13","Feb 14","Feb 15","Feb 16","Feb 17","Feb 18","Feb 19","Feb 20","Feb 21","Feb 22","Feb 23","Feb 24","Feb 25","Feb 26","Feb 27","Feb 28","Feb 29","Mar 01","Mar 02","Mar 03","Mar 04","Mar 05","Mar 06","Mar 07","Mar 08","Mar 09","Mar 10","Mar 11","Mar 12","Mar 13","Mar 14","Mar 15","Mar 16","Mar 17","Mar 18","Mar 19","Mar 20","Mar 21","Mar 22","Mar 23","Mar 24","Mar 25","Mar 26","Mar 27","Mar 28","Mar 29","Mar 30"] },
yAxis: {
title: {
text: 'Total Coronavirus Deaths'
},
type: 'logarithmic'
},
legend: {
layout: 'vertical',