Get startedGet started for free

All about aesthetics: comparing aesthetics

Now that you've got some practice with using attributes, be careful of a major pitfall: these attributes can overwrite the aesthetics of your plot!

This exercise is part of the course

Introduction to Data Visualization with ggplot2

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Establish the base layer
plt_mpg_vs_wt <- ___

# Map fcyl to size
plt_mpg_vs_wt +
  ___
Edit and Run Code