my_pie | R Documentation |
Using a dataframe specific column to plot a pie figure
my_pie(data, ncol)
data |
a dataframe or tibble |
ncol |
specific column, factor |
a figure as ggplot2 object
my_pie(mtcars,ncol=2) my_pie(diamonds,ncol=3) my_pie(diamonds,ncol=3)+guides(fill="none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.