library(ggplot2)
## Warning: package 'ggplot2' was built under R version 4.3.3
# Load the data data(mtcars) ggplot(mtcars, aes(x= mpg, y=wt)) + geom_point()
ggplot(mtcars, aes(x= mpg)) + geom_boxplot()