New undergraduate students annually
Education in Vietnam
I first created a chart to visualize the number of new undergraduate students every year from 2017 to 2019 in Vietnam.
The decrease in the number of new undergraduate students from 2017-2018 to 2018-2019 is an interesting insight. In 2018, the Vietnamese Department of Education devised a completely new version for the university entrance examination; as a result, there were barely any review materials for the students, which may have led to more students failing the exam compared to the previous years.

Then I broke them down into different categories of students: Full-time, Part-time, and Remote study

My code is as follows
My data is in this form, which contains 6 rows and 35 columns:

From there, I carried out 5 main steps:
Step 1: As there are 3 categories of schools in this dataset (total, public, non-public), I want to focus only on school_type == total. I use
filterhere
As there are 35 columns in this dataset, I just want to keep the relevant columns for my visualization. Therefore, I use
selectto pick out the columns I need.
After this step, in order to draw a bar chart, I have to transform the current table from wide to long form. I use
pivot_longerto do this.
In order to make the output category names cleaner (e.g. from
2_new_undergraduate_studentsto2. New undergraduate students), I create a new column and usecase_whento update the new name
Then, I use
ggplotto visualize my data
For the first bar chart with the total number of new undergraduate students, I pick out the relevant columns to visualize it. I also carry out similar steps with my second bar chart.
Last updated