Visualization
Objectives
- Introduction to data visualization with R
- Learn about base plots; grid and lattice; ggplot2
- Explore and visualize data
- Learn about dashboards with Shiny
- Guest Lecture
Topics
- Data Visualization with base R
- base graphics
- lattice graphics
- Data Visualization with ggplot2
- ggplot2 basics
- extension
- Shiny
- General shiny overview
- flexdashboard
- dygraphs
- Data Science Programming Methods Guest Lecture by Dr James Balamuta
- 'Shiny Without Boundaries: One App, Multiple Destinations' (see guest lecture page)
Core Material
Lecture Slides
- Lecture 19 (2025): Base R Graphics and Lattice and example code from slides
- Lecture 20 (2025): ggplot2 and example code from slides
- Lecture 21 (2025): shiny and example code zipfile plus smaller code/ directory
- Lecture 22 (2025): Guest Lecture 'Shiny Without Boundaries: One App, Multiple Destinations' delivered by Dr James Balamuta on April 9; Video (with U of I access) and repo
Lecture Videos
- Video 29 (2025): Week 10 (Box) also Video 29 (2025, captioned) (ClassTranscribe)
- Video 30 (2021): Base Graphics + Lattice (Box, captioned), also Video 30: Base Graphics + Lattice (uncaptioned) and example code from video
- Video 31 (2021): ggplot2 (Box, captioned), also Video 31: ggplot2 (uncaptioned) and example code from video
- Video 32 (2025): Week 11 (Box) also Video 32 (2025, captioned) (ClassTranscribe)
- Video 33 (2021): shiny (Box, captioned), also Video 33: shiny (uncaptioned)
- Video 34 (2025): Guest Lecture (Box) by Dr James Balmuta and repo
Extras
- Chapter 12: Graphics in Matloff, Art of R Programming, 2011.
- Chapter 7: Statistical Graphics in Lander, R for Everone, 2017.
Additional Resources
- Lattice: Multivariate Data Visualization with R book
- One-page Base R Graphics cheatsheet
- Nice Base R Graphics Cheatsheet / Tutorial
- Chapter 29: Interactive Dashboards with Shiny in Lander, R for Everone, 2017.
- RStudio Shiny Website
- Mastering Shiny book, Wickham, 2020
- Writing R Extensions manual (also included with every copy of R)