Update data-visualize.qmd (#1048)

Describe a negative relationship between engine size and fuel efficiency.
This commit is contained in:
Kevin Perese 2022-06-21 09:58:39 -04:00 committed by GitHub
parent 8f7748dcb1
commit 9a8c72c3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ ggplot(data = mpg) +
```
The plot shows a negative relationship between engine size (`displ`) and fuel efficiency (`hwy`).
In other words, cars with big engines use more fuel.
In other words, cars with smaller engine sizes have higher fuel efficiency and, in general, as engine size increases, fuel efficiency decreases.
Does this confirm or refute your hypothesis about fuel efficiency and engine size?
With ggplot2, you begin a plot with the function `ggplot()`.