CUHK admission statistics
TODO: Rewrite page for GatsbyJS!
This is a little graph of the admission statistics from CUHK's taught graduate programs.
{{#ploticus:
// Pop data set for target body fat
- proc getdata
data:
2008-05-28 385 3861 938 2008-05-29 402 3916 949 2008-06-03 415 3949 969 2008-06-04 422 4025 969 2008-06-05 422 4048 969 2008-06-10 422 3991 1027 2008-06-12 1129 3308 1027 2008-06-17 1171 3137 1170 2008-06-19 1212 3193 1170 2008-06-24 1224 3192 1195 2008-06-26 1385 2888 1362 2008-06-30 1400 2882 1362 2008-07-03 1420 2718 1524 2008-07-08 1448 2773 1524 2008-07-10 1483 2746 1524 2008-07-16 1577 2518 1773 2008-07-22 1612 2458 1807 2008-07-24 1623 2450 1807 2008-07-30 1642 2499 1809 2008-07-31 1648 2498 1809 2008-08-07 1682 2345 1947 2008-08-12 1743 2288 1947 2008-08-19 1753 1854 2383 2008-08-26 1755 1768 2482 2008-08-28 1761 1747 2497 2008-09-01 1762 1671 2572 2008-09-02 1762 1580 2664
// Create area
- proc areadef
title: CUHK Admit Statistics
titledetails: align=C adjust=0,0.1
rectangle: 1 3 5 5
xscaletype: date yyyy-mm-dd
xautorange: datafield=1
yrange: 0 5000
autowidth: 0.04
- proc yaxis
stubs: inc 500
grid: color=skyblue
label: Number of People
labeldetails: adjust=-0.2,0
// make stubs at every 7 days using proc xaxis
- proc xaxis
stubs: increment 7 days
stubformat: dd
grid: color=skyblue
// make month stubs using proc xaxis
- proc xaxis
stubs: increment 1 month
stubformat: Mmm
axisline: none
location: min-0.25
- proc lineplot
xfield: 1
yfield: 2
linedetails: color=green width=0.1
legendlabel: Admitted
- proc lineplot
xfield: 1
yfield: 3
linedetails: color=black width=0.1
legendlabel: In Process
- proc lineplot
xfield: 1
yfield: 4
linedetails: color=red width=0.1
legendlabel: Not Selected
// render the legend using proc legend
- proc legend
location: max+0.5 max
seglen: 0.2
specifyorder:
Admitted
In Process
Not Selected
}}