-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
328 lines (211 loc) · 10.3 KB
/
index.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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta name="generator" content="Hugo 0.112.5">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to my blog</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />
<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
</head>
<body>
<nav class="header">
<div class="banner">
<a href="/">
<img src="/ocean%202.jpg" alt="Text on Image" />
</a>
</div>
<div class="head-meta">
<span>Welcome to my blog</span>
<span>2025-01-28</span>
<span>1 / 3</span>
</div>
</nav>
<div class="container">
<main class="list">
<section class="article-list">
<div class="categories">
<a href="/categories/blog">Blog</a>
</div>
<h1><a href="/post/2024/12/15/2024-national-k-12-does-a-higher-rating-lead-to-a-higher-standing/">2024 National K-12: Does a Higher Rating Lead to a Higher Standing?</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2024-12-15</span>
</div>
<div class="summary">
<a href="/post/2024/12/15/2024-national-k-12-does-a-higher-rating-lead-to-a-higher-standing/">
<div class="thumbnail"><img src="https://liuyanguu.github.io/post/2024/12/15/2024-national-k-12-does-a-higher-rating-lead-to-a-higher-standing/index_files/figure-html/unnamed-chunk-2-1.png" alt="Thumbnail" /></div>
Statistics of 2024 National K-12 Grades Championship
https://www.uschess.org/results/2024/k12/
Update: An interactive chart of all players has been added
[…] The 2024 National K-12 Grades Championship attracted a total of 2,679 participants from 43 states. More than 1,000 participants (40%) came from New York, followed by Virginia with 250 participants (9%) and New Jersey with 218…
</a>
</div>
</section>
<section class="article-list">
<div class="categories">
<a href="/categories/data-visualization">Data Visualization</a>
</div>
<h1><a href="/post/2024/12/13/how-many-children-under-5-worldwide/">How many children under 5 worldwide?</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2024-12-13</span>
</div>
<div class="summary">
<a href="/post/2024/12/13/how-many-children-under-5-worldwide/">
<div class="thumbnail"><img src="https://liuyanguu.github.io/post/2024/12/13/how-many-children-under-5-worldwide/index_files/figure-html/unnamed-chunk-2-1.png" alt="Thumbnail" /></div>
Since these figures are not directly available via Google search, I calculated them using the mid-year population estimates from the World Population Prospects (WPP) 2024:
World Population: In 2024, the global population is estimated at 8.2 billion (8,162 million). The population is projected to peak in 2084 at 10.3 billion.
Children Under 5 Years Old: The number of children under 5 is 647 million…
</a>
</div>
</section>
<section class="article-list">
<div class="categories">
<a href="/categories/data-visualization">Data Visualization</a>
</div>
<h1><a href="/post/2023/05/29/plot-multiple-countries-on-the-world-map/">Plot multiple countries on the world map</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2023-05-29</span>
</div>
<div class="summary">
<a href="/post/2023/05/29/plot-multiple-countries-on-the-world-map/">
<div class="thumbnail"><img src="https://liuyanguu.github.io/post/2023/05/29/plot-multiple-countries-on-the-world-map/index_files/figure-html/unnamed-chunk-1-1.png" alt="Thumbnail" /></div>
This post will show it’s quite easy to download and plot the administrative areas of multiple countries on the world map.I will also showcase a bug that puzzled me for a long time and I recently figured out: strange connecting lines among countries!
[…] (You may download the world map from Github)
suppressPackageStartupMessages({library("data.table")library("ggplot2")…
</a>
</div>
</section>
<section class="article-list">
<div class="categories">
<a href="/categories/github">Github</a>
</div>
<h1><a href="/post/2021/01/06/rmarkdown-to-github-pages/">RMarkdown to Github Pages</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2021-01-06</span>
</div>
<div class="summary">
<a href="/post/2021/01/06/rmarkdown-to-github-pages/">
<div class="thumbnail"><img src="https://user-images.githubusercontent.com/11966330/110238718-2a8d3180-7f11-11eb-9655-dd6c4a4c5a3b.JPG" alt="Thumbnail" /></div>
Example of one of my Github pages:You might have read this GitHub and RStudio tutorial by searching this topic. It is quite long and confusing as it tries to teach Git at the same time. You don’t need any of those branch operations. And the example yaml code is not indented correctly (corrected below).
Here is the short version:
[…] Make sure the yaml format is indented correct. Most…
</a>
</div>
</section>
<section class="article-list">
<div class="categories">
<a href="/categories/data-visualization">Data Visualization</a>
</div>
<h1><a href="/post/2020/06/14/us-and-china-admin1-covid19-mortality-and-incidence-rate/">US and China Admin1 COVID19 mortality and incidence rate</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2020-06-14</span>
</div>
<div class="summary">
<a href="/post/2020/06/14/us-and-china-admin1-covid19-mortality-and-incidence-rate/">
<div class="thumbnail"><img src="/post/2020-06-15-us-and-china-admin1-covid-19-mortality-and-incidence-rate_files/figure-html/unnamed-chunk-1-1.png" alt="Thumbnail" /></div>
Similar to the last heatmap post I just revised, here I wrapped up the function and showing COVID-19 data just downloaded from JHU CSSE Github page. The function can take a given dataset and plot designated variable.
Code hosted on my Github repo.
[…] # major function, can download from Github repo Blogdown/hugo-xmag/Codesource(here::here("Code/COVID_make_map.R"))# USdt_JUH_US…
</a>
</div>
</section>
<section class="article-list">
<div class="categories">
<a href="/categories/data-visualization">Data Visualization</a>
</div>
<h1><a href="/post/2020/06/12/ggplot-us-state-and-china-province-heatmap/">ggplot US state and China province heatmap</a></h1>
<div class="date-author">
<span class="author">Yang Liu
</span> /
<span class="date">2020-06-12</span>
</div>
<div class="summary">
<a href="/post/2020/06/12/ggplot-us-state-and-china-province-heatmap/">
<div class="thumbnail"><img src="/post/2019-04-17-ggplot-heatmap-us-50-states-map-and-china-province-map_files/figure-html/unnamed-chunk-2-1.png" alt="Thumbnail" /></div>
(Updated on 2020-06-12, First posted on 2019-04-17)
It sounds easy but turned out not as straight-forward as I thought.I will show:
[…] 50-state (including Alaska and Hawaii) United States thematic map, with map scale and with state abbreviations
[…] China thematic map, with map scale, with names of provinces in either English or Chinese
[…] The dt1 below can be used by both…
</a>
</div>
</section>
</main>
<nav>
<ul class="pagination pagination-default">
<li class="page-item disabled">
<a aria-disabled="true" aria-label="First" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">««</span></a>
</li>
<li class="page-item disabled">
<a aria-disabled="true" aria-label="Previous" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">«</span></a>
</li>
<li class="page-item active">
<a aria-current="page" aria-label="Page 1" class="page-link" role="button">1</a>
</li>
<li class="page-item">
<a href="/page/2/" aria-label="Page 2" class="page-link" role="button">2</a>
</li>
<li class="page-item">
<a href="/page/3/" aria-label="Page 3" class="page-link" role="button">3</a>
</li>
<li class="page-item">
<a href="/page/2/" aria-label="Next" class="page-link" role="button"><span aria-hidden="true">»</span></a>
</li>
<li class="page-item">
<a href="/page/3/" aria-label="Last" class="page-link" role="button"><span aria-hidden="true">»»</span></a>
</li>
</ul></nav>
</div>
<script async src="//yihui.org/js/center-img.js"></script>
<footer>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F3P69FBSHL"></script>
<script>
var doNotTrack = false;
if (!doNotTrack) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F3P69FBSHL', { 'anonymize_ip': false });
}
</script>
<div class="footer">
<ul class="menu">
<li><a href="/"><span data-hover="Home">Home</span></a></li>
<li><a href="/tags/"><span data-hover="Tags">Tags</span></a></li>
<li><a href="/categories/"><span data-hover="Categories">Categories</span></a></li>
<li><a href="/about-me/"><span data-hover="About Me">About Me</span></a></li>
</ul>
<div class="copyright">@2024 Yang Liu <a href="https://github.com/liuyanguu">github.com/liuyanguu</a> Powered by Github.</div>
</div>
</footer>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F3P69FBSHL"></script>
<script>
var doNotTrack = false;
if (!doNotTrack) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F3P69FBSHL', { 'anonymize_ip': false });
}
</script>
</body>
</html>