prius_mpg | R Documentation |
Fueleconomy.gov, the official US government source for fuel economy information, allows users to share gas mileage information on their vehicles. These data come from 19 users sharing gas mileage on their 2017 Toyota Prius Prime. Note that these data are user estimates and since the sources data cannot be verified, the accuracy of these estimates are not guaranteed.
prius_mpg
A data frame with 19 observations on the following 10 variables.
Average mileage as estimated by the user.
US State the user lives in.
Proportion of stop and go driving.
Proportion of highway driving.
Date estimate was last updated.
Fueleconomy.gov, https://www.fueleconomy.gov/mpg/MPG.do?action=mpgData&vehicleID=38531&browser=true&details=on, retrieved 2019-04-14.
library(ggplot2)
library(dplyr)
ggplot(prius_mpg, aes(x = average_mpg)) +
geom_histogram(binwidth = 25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.