example <- data.frame(
c("a. This", "b. Is", "c. Just", "d. An", "e. Example"),
c(2.9, 6.9, 4.20, 13.12, 6.66)
)
pie_bake(
data = example,
template = "basic3",
perc = TRUE,
group_name = "groups",
title = "Example1"
)
pie_bake(
data = example,
template = "red1",
title = "Ex2"
)
pie_bake(
data = example,
template = "donut2",
perc = TRUE,
group_name = "CAT:"
)
Run the code above in your browser using DataLab