View source: R/make_piechart.R
make_piechart | R Documentation |
Make a pie chart with labels of counts
make_piechart(tab, Count = "Count", Category = "Category", title = NULL)
tab |
a table of counts and category |
Count |
column name of counts in tab |
Category |
column name of categories in tab |
title |
title of the chart |
ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.