Open Pie Chart/Donut Chart in R using Plotly with count and percentage
问题 I'm trying to make a donut chart in R using plotly. I tried ggplot, but it wasn't able to give me the effect that I need. Here's a sample dataset: library(dplyr) testfile <- tibble(personID = 1:10, status = c("bad", "good", "bad", "bad", "bad", "bad", "bad", "bad", "bad", "good"), department = c("sales", "sales", "marketing", "sales", "marketing", "management", "management", "sales", "sales", "sales")) This chart will end up in a PowerPoint, so it does not need to be responsive. Instead, I