Description Usage Format Note Examples
This dataset contains statistics on cars released from 1997 through 2013. It consists of a data.frame containing the columns:
vehicle
: Vehicle model.
year
: Year vehicle released.
date
: Price (new) of vehicle at release year (USD).
accelrate
: Vehicle acceleration rate.
milespergallon
: Vehicle MPG
class
: Vehicle class (according to U.S. driver's license code)
1 |
A data frame with 135 rows and 7 variables
Last updated 2015-08-04.
1 2 3 4 5 6 7 8 | if (interactive()) {
data(cars_data)
tauchart(cars_data) %>%
tau_point("milespergallon", c("class", "price"), color="class") %>%
tau_legend() %>%
tau_trendline() %>%
tau_tooltip(c("vehicle", "year", "class", "price", "milespergallon"))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.