Description Usage Arguments References Examples
Create a TauCharts area chart
1 |
tau |
taucharts object |
x |
quoted name of |
y |
quoted name of |
color |
quoted name of |
http://api.taucharts.com/basic/bar.html, http://api.taucharts.com/basic/horizontal-bar.html
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(economics, package="ggplot2")
tauchart(economics) %>%
tau_area("date", "unemploy") %>%
tau_guide_x(tick_format="%Y")
# facets
library(dplyr)
library(tidyr)
crimes <- gather(add_rownames(USArrests, "State"), Crime, Amount, -State)
tauchart(crimes) %>%
tau_area("State", c("Crime", "Amount"), "Crime") %>%
tau_guide_y(auto_scale = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.