# Scatter plot of Horsepower vs Miles Per Gallon using mtcars
plot(
mtcars$hp,
mtcars$mpg,
xlab = "Horsepower (hp)",
ylab = "Miles per Gallon (mpg)",
main = "Relationship Between Horsepower and Fuel Efficiency",
pch = 19,
col = "blue")
There is a slight negative relationship between mpg and hp.