-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalysis.html
65 lines (52 loc) · 2.22 KB
/
analysis.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-129083114-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-129083114-2');
</script>
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<script src="world_data.js"></script>
<script src="SL_district_data.js"></script>
<script src="visualization.js"></script>
<title>COVID-19 Analysis</title>
<meta name="description" content="Interactive visualization and analysis of COVID-19 data from Sri Lanka"/>
<meta name="keywords" content="COVID-19, Coronavirus, Sri Lanka, analysis, simulation">
</head>
<body>
<div style="margin:0 auto; width:80%">
<br>
<h2>COVID-19 Data Analysis</h2>
<br>
<h3>Case history for districts of Sri Lanka</h3>
<div class="control">
<input type="radio" id="radio_yaxis_linear" name="plot_yaxis_type" value="linear" onchange="updateYAxisType()">
<label for="radio_yaxis_linear">Linear y-axis</label>
<input type="radio" id="radio_yaxis_logarithmic" name="plot_yaxis_type" value="logarithmic" checked onchange="updateYAxisType()">
<label for="radio_yaxis_logarithmic">Logarithmic y-axis</label>
</div>
<div id="chart_district" style="width:80%"></div>
<br><br>
<h3>Case growth by country</h3>
<div id="chart_country" style="width:80%"></div>
<br>
<br>
<h4>Check out our <a href="index.html">COVID-19 simulation tool for Sri Lanka</a>.</h4>
<br>
<h4>Data sources</h4>
<p class="small">
<a href="http://www.epid.gov.lk/web/index.php?option=com_content&view=article&id=225&Itemid=518&lang=en" target="_blank">Situation reports</a> - Epidemiology unit, Ministry of Health, Sri Lanka
<br><br>
<a href="https://pomber.github.io/covid19/timeseries.json" target="_blank">JSON time-series by pomber</a>
</p>
</div>
<div style="height:30px"></div>
</body>
</html>