Scatterplots and smoothing | Data on display: visualizing data with ggplot2 in R (lesson 2)

Опубликовано: 27 Май 2026
на канале: The GRAPH Courses
579
12

👋 LESSON MATERIALS 🛑

Get the data, scripts, PDF notes and quizzes for this lesson from our website:
https://thegraphcourses.org/courses/d...

If this is your first time coding along with us, watch this quick video to see how it works:    • How to practice along with the lesson videos  

Chapters
00:00 Intro
1:37 Dataset
2:22 Using geom_point
5:09 Modify point aesthetics
13:41 Setting fixed aesthetics
22:09 Adding a trend line
30:54 Wrap-up

Learning Objectives
1. You can visualize relationships between numerical variables using scatter plots with geom_point().
2. You can use color as an aesthetic argument to map variables from the dataset onto individual points.
3. You can change the size, shape, color, fill, and opacity of geometric objects by setting fixed aesthetics.
4. You can add a trend line to a scatter plot with geom_smooth().

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

And follow us on social media to get the latest updates!
Twitter:   / thegraphnetwork  
LinkedIn:   / the-graph-network