# 汽车马力与每加仑汽油行驶里程的关系
library(ggplot2)
p = ggplot(aes(x = hp, y = mpg), data = mtcars) +
geom_point() +
geom_smooth(method = "loess") +
labs(x = "马力", y = "每加仑汽油行驶里程")
print(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.