aest_donut | R Documentation |
takes a dataframe with a grouping variable and a measure and makes a donut.
aest_donut( df, y_var, group_var, center_text = NULL, center_text_size = 7, caption = NULL, lab_size = 5 )
df |
dataframe that contains |
y_var |
The measure being plotted |
group_var |
a grouping variable |
center_text |
what text to put in middle, Default: NULL |
center_text_size |
how large center font is, Default: 7 |
caption |
user provided caption, Default: NULL |
lab_size |
font size for labels, Default: 5 |
DETAILS
a donut chart
label_percent
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.