ggplot2 introduction | Data on display: visualizing data with ggplot2 in R (lesson 1)
Channel: The GRAPH Courses
Date: 01/03/2023

👋 LESSON MATERIALS 🛑

Get the data, scripts, PDF notes and quizzes for this lesson from our website: 
https://thegraphcourses.org/courses/data-on-display-beta/topics/intro-to-ggplot2/

If this is your first time coding along with us, watch this quick video to see how it works: https://youtu.be/xTsdNpeY2ak

Chapters
00:00 Intro
1:28 Measles dataset
4:53 The Grammar of Graphics
12:20 How to answer a practice question
15:00 Modifying layers
18:36 Additional aesthetic mappings
24:04 Fixed aesthetics
29:37 Wrap-up

Learning objectives:
By the end of this lesson you should be able to:
1. Recall and explain how the {ggplot2} package for data visualization is based on a theoretical framework called the grammar of graphics.
2. Name and describe the 3 essential components required for building a graph: data, aesthetics, and geometries.
3. Write code to build a complete ggplot graphic by correctly supplying the 3 essential layers to the ggplot() function.
4. Create different types of plots such as scatter plots, line graphs, and bar graphs.
5. Add or modify visual elements of a plot such as color and size.
6. Distinguish between between aesthetic mappings and fixed aesthetics, and how to apply them.


----------------

And follow us on social media to get the latest updates!
Twitter: https://twitter.com/theGRAPHnetwork
LinkedIn: https://www.linkedin.com/company/the-graph-network