|
|
Line 1: |
Line 1: |
| __NOTOC__ | | __NOTOC__ |
− | <html>
| + | [[Covid-19 Progress in Turkey]] |
− | <head>
| |
− | <!--Load the AJAX API-->
| |
− | <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
| |
− | <script type="text/javascript">
| |
− | | |
− | google.charts.load('current', {'packages':['corechart']});
| |
− | google.charts.setOnLoadCallback(drawVisualization);
| |
− | | |
− | function drawVisualization() {
| |
− | // Some raw data (not necessarily accurate)
| |
− | var data = google.visualization.arrayToDataTable([
| |
− | ['Day', 'Cumulative', 'Daily'],
| |
− | // Day 1 = March 10, 2020
| |
− | [1, 1, 1],
| |
− | [2, 1, 0],
| |
− | [3, 5, 4],
| |
− | [4, 5, 0],
| |
− | [5, 6, 1],
| |
− | [6, 18, 12],
| |
− | [7, 47, 29],
| |
− | [8, 98, 51],
| |
− | [9, 192, 94],
| |
− | [10, 359, 167],
| |
− | [11, 670, 311],
| |
− | [12, 947, 277],
| |
− | [13, 1236, 289],
| |
− | [14, 1529, 293],
| |
− | [15, 1872, 343],
| |
− | [16, 2433, 561],
| |
− | [17, 3629, 1196],
| |
− | [18, 5698, 2069],
| |
− | [19, 7402, 1704],
| |
− | [20, 9217, 1815],
| |
− | [21, 10827, 1410],
| |
− | [22, 13531, 2904],
| |
− | [23, 15679, 2148],
| |
− | [24, 18135, 2456],
| |
− | [25, 20921, 2786],
| |
− | [26, 23934, 3013],
| |
− | [27, 27069, 3135],
| |
− | [28, 30217, 3148],
| |
− | [29, 34109, 3892],
| |
− | [30, 38226, 4117],
| |
− | [31, 42282, 4056],
| |
− | [32, 47029, 4747],
| |
− | [33, 52167, 5138],
| |
− | [34, 56956, 4789],
| |
− | [35, 61049, 4093],
| |
− | [36, 65111, 4062],
| |
− | [37, 69392, 4281],
| |
− | [38, 74193, 4801],
| |
− | [39, 78546, 4353],
| |
− | [40, 82329, 3783],
| |
− | [41, 86306, 3977],
| |
− | [42, 90980, 4674],
| |
− | [43, 95591, 4611],
| |
− | [44, 98674, 3083],
| |
− | [45, 101790, 3116],
| |
− | [46, 104912, 3122],
| |
− | [47, 107773, 2861],
| |
− | [48, 110130, 2357],
| |
− | [49, 112261, 2131],
| |
− | [50, 114653, 2392],
| |
− | ]);
| |
− | | |
− | // Set chart options
| |
− | var options = {
| |
− | title : 'COVID-19 Cases in Turkey',
| |
− | fontName: 'Old Standard TT',
| |
− | vAxis: {
| |
− | title: 'Cases',
| |
− | // maxValue: '20000',
| |
− | // scaleType: 'log',
| |
− | },
| |
− | hAxis: {title: 'Day'},
| |
− | seriesType: 'bars',
| |
− | series:{
| |
− | 0: {type: 'line',
| |
− | color: '#982F00',
| |
− | lineWidth: 3,
| |
− | // pointSize: 4,
| |
− | },
| |
− | 1: {type: 'bars', color: 'black'},},
| |
− | // 'width':600,
| |
− | 'height':400,
| |
− | // crosshair: { trigger: 'both', opacity: 0.5 },
| |
− | // trendlines: { 1: {} } // Draw a trendline for data series 1,
| |
− | };
| |
− | | |
− | var chart = new google.visualization.ComboChart(document.getElementById('chart_div_1'));
| |
− | chart.draw(data, options);
| |
− | }
| |
− | </script>
| |
− | </head>
| |
− | | |
− | <body>
| |
− | <div id="chart_div_1"></div>
| |
− | </body>
| |
− | </html>
| |
− | | |
− | <html>
| |
− | <head>
| |
− | <!--Load the AJAX API-->
| |
− | <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
| |
− | <script type="text/javascript">
| |
− | | |
− | google.charts.load('current', {'packages':['corechart']});
| |
− | google.charts.setOnLoadCallback(drawChart);
| |
− | | |
− | function drawChart() {
| |
− | var data = google.visualization.arrayToDataTable([
| |
− | ['Total cases', 'Daily cases'],
| |
− | //[1, 1],
| |
− | //[1, 0],
| |
− | //[5, 4],
| |
− | //[5, 0],
| |
− | //[6, 1],
| |
− | //[18, 12],
| |
− | //[47, 29],
| |
− | //[98, 51],
| |
− | [192, 94],
| |
− | [359, 167],
| |
− | [670, 311],
| |
− | [947, 277],
| |
− | [1236, 289],
| |
− | [ 1529, 293],
| |
− | [ 1872, 343],
| |
− | [ 2433, 561],
| |
− | [ 3629, 1196],
| |
− | [ 5698, 2069],
| |
− | [ 7402, 1704],
| |
− | [ 9217, 1815],
| |
− | [ 10827, 1410],
| |
− | [ 13531, 2904],
| |
− | [ 15679, 2148],
| |
− | [ 18135, 2456],
| |
− | [ 20921, 2786],
| |
− | [23934, 3013],
| |
− | [27069, 3135],
| |
− | [30217, 3148],
| |
− | [34109, 3892],
| |
− | [38226, 4117],
| |
− | [42282, 4056],
| |
− | [47029, 4747],
| |
− | [52167, 5138],
| |
− | [56956, 4789],
| |
− | [61049, 4093],
| |
− | [65111, 4062],
| |
− | [69392, 4281],
| |
− | [74193, 4801],
| |
− | [78546, 4353],
| |
− | [82329, 3783],
| |
− | [86306, 3977],
| |
− | [90980, 4674],
| |
− | [95591, 4611],
| |
− | [98674, 3083],
| |
− | [101790, 3116],
| |
− | [104912, 3122],
| |
− | [107773, 2861],
| |
− | [110130, 2357],
| |
− | [112261, 2131],
| |
− | [114653, 2392],
| |
− | | |
− | ]);
| |
− | | |
− | var options = {
| |
− | title: 'Total cases vs. Daily cases (log-log)',
| |
− | fontName: 'Old Standard TT',
| |
− | color: '#982F00',
| |
− | series:{
| |
− | 0: {
| |
− | color: '#982F00',
| |
− | pointSize: 2,
| |
− | },},
| |
− | hAxis: {title: 'Total cases', scaleType: 'log'},
| |
− | vAxis: {title: 'Daily cases', scaleType: 'log'},
| |
− | legend: 'none',
| |
− | 'height':400,
| |
− | };
| |
− | | |
− | var chart = new google.visualization.ScatterChart(document.getElementById('chart_div_2'));
| |
− | | |
− | chart.draw(data, options);
| |
− | }
| |
− | </script>
| |
− | </head>
| |
− | | |
− | <body>
| |
− | <div id="chart_div_2"></div>
| |
− | </body>
| |
− | </html>
| |
| | | |
| ==SARS-CoV-2, The Virus== | | ==SARS-CoV-2, The Virus== |
Covid-19 Progress in Turkey
SARS-CoV-2, The Virus
How Coronavirus Mutates and Spreads by J. Corum and C. Zimmer, April 30, 2020 — NY Times
— The coronavirus is an oily membrane packed with genetic instructions to make millions of copies of itself. The instructions are encoded in 30,000 letters of RNA — a, c, g and u — which the infected cell reads and translates into many kinds of virus proteins.
Inside the Coronavirus Genome by J. Corum and C. Zimmer, April 3, 2020 — NY Times
— The genome of the new coronavirus is less than 30,000 letters long, while the human genome is over 3 billion. Scientists have identified genes for as many as 29 proteins, which carry out a range of jobs from making copies of the coronavirus to suppressing the body’s immune responses.
How Coronavirus Hijacks Your Cells by J. Corum and C. Zimmer, March 13, 2020 — NY Times
— The virus that causes Covid-19 is currently spreading around the world. At least six other types of coronavirus are known to infect humans, with some causing the common cold and two causing outbreaks: SARS and MERS.
Genetic Data for SARS-CoV-2, April 12, 2020 — Wolfram
— This interactive dashboard displays recent information on the COVID-19 (coronavirus) pandemic, patient symptoms and outcomes, and the genetic makeup of the novel coronavirus (SARS-CoV-2).
Data Sources (pandemic)
How do sources compare? by H. Ritchie et al., March 19, 2020 — Our World in Data
— There are three key sources providing regular updates of COVID-19 cases and deaths globally and by country.
- World Health Organization
- European Center for Disease Control and Prevention (ECDC)
- Johns Hopkins University
Addendum
NOTE: Script for downloading the CSV file into R
1 #these libraries need to be loaded
2 library(utils)
3
4 #read the Dataset sheet into “R”. The dataset will be called "data".
5 data <- read.csv("https://opendata.ecdc.europa.eu/covid19/casedistribution/csv", na.strings = "", fileEncoding = "UTF-8-BOM")
Data Sources (other)
Datasets
Updates
Observable
Shiny
Tableau
Research