Course Syllabus

1. Course Description

Data structures and data types. Data wrangling. Data import and export. Types of data visualization. Programming for data visualization in business. Popular packages. Applications and case studies.

2. Course Learning Outcomes (CLO): Students are able to

  1. write programs and fix program errors.

  2. create reports for data visualization with software.

  3. analyze and visualize data in business.

3. Course Contents

Week Day Content Hour
1 Jun 23, 2025 Course introduction and software for study 1.5
1 Jun 26, 2025 Markdown language: quarto (1) 1.5
2 Jun 30, 2025 Markdown language: quarto (2) 1.5
2 Jun 3, 2025 Data structures and types: vector (1) 1.5
3 Jul 7, 2025 Data structures and types: vector (2) 1.5
3 Jul 10, 2025 Holiday (Asalha Bucha)
4 Jul 14, 2025 Data structures and types : Matrix (1) 1.5
4 Jul 17, 2025 Data structures and types : Matrix (2) 1.5
5 Jul 21, 2025 Data structures and types : Data Frame (1) 1.5
5 Jul 24, 2025 Data structures and types : Data Frame (2) 1.5
6 Jul 28, 2025 Holiday (the King’s Birthday)
6 Jul 31, 2025 Data structures and types : XTS (1) 1.5
7 Aug 4, 2025 Data structures and types : XTS (2) 1.5
7 Aug 7, 2025 Data wrangling (1) 1.5
8 Aug 11, 2025 Holiday
8 Aug 14, 2025 Data wrangling (2) 1.5
9 Aug 18-24, 2025 Reading week
10 Aug 25-31, 2025 Midterm Exam
11 Sep 1, 2025 Based Plot (histogram and density) 1.5
11 Sep 4, 2025 Based Plot (Bar plot) 1.5
12 Sep 8, 2025 Based Plot (plot mathematics function) 1.5
12 Sep 11, 2025 Based Plot (Scatter plot) 1.5
13 Sep 15, 2025 Based Plot (Modifies plot) 1.5
13 Sep 18, 2025 Dashboard (1) 1.5
14 Sep 22, 2025 Dashboard (2) 1.5
14 Sep 25, 2025 ggplot2 (histogram and density) 1.5
15 Sep 29, 2025 ggplot2 (bar plot) 1.5
15 Oct 2, 2025 ggplot2 (scatter plot) 1.5
16 Oct 6, 2025 Popular packages (patchwork and plotly) 1.5
16 Oct 9, 2025 Financial Plot (1) 1.5
17 Aug 13, 2025 Holiday (The King Bhumibol Adulyadej Memorial Day)
17 Oct 18, 2025 Financial Plot (2) 1.5
19 Oct 27, 2025 (8.00-11.00 AM) The Final Exam Part 2/2 2

4. Textbooks/Supplies/Materials/Equipment/ Technology or Technical Requirements:

  • Laptop or desktop computer with R, Quarto and RStudio software.

  • Wickham, H., & Grolemund, G. (2017). R for data science: Import, tidy, transform, visualize, and model data. O’Reilly Media.

  • Peng, R. D. (2019). R programming for data science. Leanpub.

  • Matloff, N. (2011). The art of R programming: A tour of statistical software design. No Starch Press.

  • Kabacoff, R. I. (2015). R in action: Data analysis and graphics with R (2nd ed.). Manning.

  • Grolemund, G. (2014). Hands-on programming with R: Write your own functions and simulations. O’Reilly Media.

  • Gillespie, C., & Lovelace, R. (2016). Efficient R programming: A practical guide to smarter programming. O’Reilly Media.

  • Wickham, H., Averick, M., Bryan, J., Chang, W., McGowan, L. D., François, R., Grolemund, G., Hayes, A., Henry, L., Hester, J., Kuhn, M., Pedersen, T. L., Miller, E., Bache, S. M., Müller, K., Ooms, J., Robinson, D., Seidel, D. P., Spinu, V., … Yutani, H. (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686. https://doi.org/10.21105/joss.01686

  • Wickham, H. (2016). ggplot2: Elegant graphics for data analysis (2nd ed.). Springer. https://ggplot2.tidyverse.org

  • Ryan, J. A., & Ulrich, J. M. (2023). quantmod: Quantitative financial modelling framework. R package version 0.4.25. https://CRAN.R-project.org/package=quantmod

  • Sievert, C. (2020). Interactive web-based data visualization with R, plotly, and shiny. Chapman & Hall/CRC. https://plotly-r.com

  • Pedersen, T. L. (2022). patchwork: The composer of plots. R package version 1.1.2. https://CRAN.R-project.org/package=patchworkhttps://CRAN.R-project.org/package=patchwork

  • Kunst, J. (2023). highcharter: A wrapper for the ‘Highcharts’ library. R package version 0.9.4.1. https://CRAN.R-project.org/package=highcharter

  • Xie, Y., Allaire, J. J., & Grolemund, G. (2018). R markdown: The definitive guide. Chapman & Hall/CRC. https://rmarkdown.rstudio.com

  • Allaire, J. J., Xie, Y., Dervieux, C., McPherson, J., & Iannone, R. (2022). Quarto: Scientific and technical publishing system. https://quarto.org

5. Class Activities

Activity Evaluation Week Scores
Attendance 1-17 10
Project 1 before 7 10
Project 2 before 17 10
Project 3 before 18 10

Midterm exam 1/2

Topics: Quarto, vector, matrices

5 15 (multiple choice 5, coding 10)

Midterm exam 2/2

Topics: Data frame, XTS, Data wrangling

9 15 (multiple choice 5, coding 10)

Final exam 1/2

Topics: Based plot(histogram, barplot, curve, scatter plot, modified plot)

13 15 (multiple choice 5, coding 10)

Final exam 2/2

Topics: ggplot2(histogram bar plot, scatter plot, modified plot, patchwork and plotly)

19 15 (multiple choice 5, coding 10)

6. Grade Evaluation

Grade Score range (PTS) GPA Value Comment
A 80-100 4 Excellent
B+ 74-79 3.5 Very good
B 68-73 3 Good
C+ 61-67 2.5 Above average
C 55-60 2 Average
D+ 49-54 1.5 Below average
D 43-48 1 Poor
F 0-42 0 Fail

7. Remarks

  1. The students must be in class for at least 80 percent of the course to be counted as present. (If you are absent from my class more than 10 times, your grade is F)

  2. Cheating involves actual, intended, or attempted deception and/or dishonest action in relation to any academic work of the University. The consequence will be the award of a mark of zero for the module affected.

  3. The students must read and follow the Chiang Mai University Regulations to ensure that you do not cheat in an exam.