File:WHO Covid 2020 Jan-Aug daily C Singapore.pdf

Summary

Description
English: Diagram of WHO COVID-19 daily data (20 Jan - 16 Aug 2020) for "Total Confirmed Cases" (thick solid line), its smoothed increment (thick dash-dotted line), "Total Deaths" (thin dashed line) , and its smoothed increment (thin dotted line). Figures are taken from the available situation reports. Red and blue lines refer to the left and right vertical axis, respectively; the scaling factor for each curve is given in the legend. The horizontal axis starts on 20 Jan 2020 (situation report 1), and ends on 16 Aug 2020 (situation report 209). In the smoothed curves, for each day, 1/7 of the difference of the current day's figure and the figure a week ago is shown. For example, in situation report 115 (14 May 2020) and 121 (21 May 2020), there were 8676 and 5339 Total Confirmed Cases in Afghanistan, respectively, so the thick dash-dotted line passes through 477 = (8676-5339)/7 on 21 May.

For an overview of all related visualizations, and a more detailled description, see WHO Covid diagram set#Available country diagrams Jan-Aug 2020 (daily).

Date
Source Own work
Author Jochen Burghardt

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#WHO%20Covid%202020%20Jan-Aug%20daily%20C%20Singapore.pdf
Category:Self-published work

Gnuplot source code

Gnuplot source code
set term pdf size 22,13
set term pdf font "sans,20"
set output "WHO_Covid_C_Singapore.pdf"
set key autotitle columnhead
set termoption noenhanced
# (1) norm: 557 102 001 001
# (2) dist: 1,0:183
# (3,4) dist max: 183 1:102--0:557
# (4) right: 1 0 1 1
# (6,7) scMax: 125 575
# (8) scale: [1:100] [1:10] [1:1] [1:1]


set xrange [-1:212]
set yrange [0:125]
set y2range [0:575]
set xtics 3650,100
set ytics 25 textcolor "#e51e10"
set y2tics 75 textcolor "#0072b2"
set grid y y2

set title "Singapore"

$data <<EOF
rep day "confirmed [1:100]" "-~confirmed [1:10]" "deaths [1:1]" "-~deaths [1:1]"
1	Jan	.	-	.	-
2	""	.	-	.	-
3	""	.	-	.	-
-	-	-	-	-	-
4	""	1	-	.	-
5	25	3	-	.	-
6	""	4	-	.	-
7	""	4	-	.	-
8	""	7	-	.	-
9	""	7	-	.	-
10	""	10	-	.	-
11	""	13	2	.	-
12	Feb	16	2	.	-
13	""	18	2	.	-
14	""	18	2	0	-
15	""	18	1	0	-
16	05	24	3	0	-
17	""	28	2	0	-
18	""	30	3	0	-
19	""	33	2	0	-
20	""	40	3	0	-
21	10	43	4	0	0
22	""	45	4	0	0
23	""	47	3	0	0
24	""	50	3	0	0
25	""	58	4	0	0
26	15	67	5	0	0
27	""	72	5	0	0
28	""	75	4	0	0
29	""	77	5	0	0
30	""	81	5	0	0
31	20	84	4	0	0
32	""	85	4	0	0
33	""	86	3	0	0
34	""	89	2	0	0
35	""	89	2	0	0
36	25	90	2	0	0
37	""	91	2	0	0
38	""	93	1	0	0
39	""	96	2	0	0
40	""	98	1	0	0
41	Mar	102	2	0	0
42	""	106	3	0	0
43	""	108	2	0	0
44	""	110	3	0	0
45	05	110	2	0	0
46	""	117	3	0	0
47	""	130	5	0	0
48	""	138	5	0	0
49	""	150	6	0	0
50	10	160	8	0	0
51	""	166	8	0	0
52	""	178	9	0	0
53	""	187	10	0	0
54	""	200	10	0	0
55	15	212	11	0	0
56	""	243	13	0	0
57	""	243	12	0	0
58	""	266	14	0	0
59	""	313	20	0	0
60	20	345	22	0	0
61	""	385	27	0	0
62	""	432	31	2	0
63	""	455	30	2	1
64	""	507	38	2	0
65	25	558	42	2	0
66	""	631	45	2	0
67	""	683	49	2	1
68	""	732	49	2	0
69	""	802	53	2	0
70	""	844	56	3	0
71	""	879	53	3	0
72	Apr	926	52	3	0
73	""	1000	53	3	1
74	""	1049	52	4	0
75	""	1114	55	5	0
76	05	1189	55	5	1
77	""	1309	67	6	0
78	""	1375	70	6	1
79	""	1481	80	6	0
80	""	1623	89	6	0
81	10	1910	123	7	1
82	""	2108	142	7	0
83	""	2299	158	8	1
84	""	2532	175	8	0
85	""	2918	220	9	0
86	15	3252	253	10	1
87	""	3699	297	10	0
88	""	4427	360	10	1
89	""	5050	420	11	0
90	""	5573	468	11	1
91	20	6588	579	11	0
92	""	8014	728	11	1
93	""	9125	839	11	0
94	""	10141	920	12	0
95	""	11178	965	12	0
96	25	12075	1003	12	0
97	""	12693	1017	12	1
98	""	13624	1006	12	0
99	""	14423	915	14	0
100	""	14951	832	14	1
101	""	15641	786	14	0
102	May	16169	713	15	0
103	""	17101	718	16	1
104	""	17548	694	17	1
105	""	18205	654	18	0
106	05	18778	622	18	1
107	""	19410	637	18	1
108	""	20198	651	20	0
109	""	20939	682	20	1
110	""	21707	658	20	1
111	10	22460	701	20	0
112	""	23336	733	20	0
113	""	23822	721	21	1
114	""	24671	752	21	0
115	""	25346	735	21	0
116	15	26098	737	21	1
117	""	26891	741	21	0
118	""	27356	699	22	0
119	""	28038	672	22	0
120	""	28343	646	22	0
121	20	28794	589	22	1
122	""	29364	574	22	0
123	""	29812	530	23	0
124	""	30426	505	23	0
125	""	31068	530	23	0
126	25	31616	512	23	1
127	""	31960	516	23	0
128	""	32343	507	23	0
129	""	32876	502	23	0
130	""	33249	491	23	0
131	""	33860	491	23	0
132	""	34366	471	23	0
133	Jun	34884	467	23	0
134	""	35292	476	24	0
135	""	35836	499	24	0
136	""	36405	504	24	0
137	05	36922	524	24	1
138	""	37183	475	24	0
139	""	37527	452	25	0
140	""	37910	432	25	0
141	""	38296	429	25	0
142	10	38514	383	25	1
143	""	38965	365	25	0
144	""	39387	353	25	0
145	""	39850	381	25	0
146	""	40197	381	26	0
147	15	40604	385	26	0
148	""	40818	360	26	0
149	""	40969	351	26	1
150	""	41216	321	26	0
151	""	41473	298	26	0
152	20	41615	253	26	0
153	""	41833	233	26	0
154	""	42095	213	26	0
155	""	42313	214	26	0
156	""	42432	209	26	0
157	25	42623	201	26	0
158	""	42736	180	26	0
159	""	42955	192	26	0
160	""	43246	202	26	0
161	""	43459	194	26	0
162	""	43661	193	26	0
163	Jul	43907	211	26	0
164	""	44122	214	26	0
165	""	44310	225	26	0
166	""	44479	217	26	0
167	05	44664	203	26	0
168	""	44800	192	26	0
169	""	44983	188	26	0
170	""	45140	177	26	0
171	""	45298	168	26	0
172	10	45423	159	26	0
173	""	45614	162	26	0
174	""	45783	160	26	0
175	""	45961	165	26	0
176	""	46283	186	26	0
177	15	46630	213	27	0
178	""	46879	226	27	0
179	""	47127	243	27	0
180	""	47454	263	27	1
181	""	47656	268	27	0
182	20	47913	279	27	0
183	""	48036	250	27	0
184	""	48434	258	27	0
185	""	48744	266	27	0
186	""	49098	282	27	0
187	25	49375	274	27	0
188	""	49888	319	27	0
189	""	50369	351	27	0
190	""	50838	400	27	0
191	""	51197	395	27	0
192	""	51531	398	27	0
193	""	51809	387	27	0
194	Aug	52205	405	27	0
195	""	52512	374	27	0
196	""	52825	351	27	0
197	""	53051	316	27	0
198	05	53346	307	27	0
199	""	54254	389	27	0
200	""	54555	393	27	0
201	""	54797	370	27	0
202	""	54929	345	27	0
203	10	55104	326	27	0
204	""	55292	320	27	0
205	""	55353	287	27	0
206	""	55395	163	27	0
207	""	55497	134	27	0
208	15	55580	112	27	0
209	""	55661	105	27	0
EOF

# confirmed:
set label "55661  " at first 209,556*125/575   left back textcolor "#8080ff"
# -~confirmed:
set label "105    " at first 209, 10           left back textcolor "#ff8080"
set label "1017   " at first  97,101        +2 left back textcolor "#ff8080"
# deaths:
set label "27     " at first 209, 27*125/575   left back textcolor "#8080ff"
set label "27     " at first 177, 27*125/575+2 left back textcolor "#8080ff"
# -~deaths:
set label "0      " at first 209,  0*125/575   left back textcolor "#8080ff"
set label "1      " at first  63,  1*125/575+2 left back textcolor "#8080ff"

set multiplot
  plot $data using 0:($3/    100*125/575) with lines lc 6 lw 8 dt 1 title at 0.150, 0.920
replot $data using 0:($4/     10        ) with lines lc 7 lw 8 dt 4 title at 0.150, 0.902
replot $data using 0:($5/      1*125/575) with lines lc 6 lw 5 dt 2 title at 0.150, 0.884
replot $data using 0:($6/      1*125/575) with lines lc 6 lw 5 dt 3 title at 0.150, 0.866

# plot hor axis calendar
replot $data using 0:(0):xticlabel(2) with lines
Category:Diagrams based on WHO COVID-19 situation reports Category:Diagrams about the COVID-19 pandemic in Singapore Category:Images with Gnuplot source code
Category:CC-BY-SA-4.0 Category:Diagrams about the COVID-19 pandemic in Singapore Category:Diagrams based on WHO COVID-19 situation reports Category:Images with Gnuplot source code Category:Self-published work