Reputation: 55
I have the following pie chart in R. How do I remove the "0/100", "25", "50", "75" from around the circle?
I've already tried this:
theme(axis.text = element_blank(),
axis.ticks = element_blank(),
panel.grid.major.y = element_blank(),
panel.grid.minor.y = element_blank(),
panel.grid = element_blank())
The issue appears when I add in the line with geom_text()
geom_text(aes(label = paste0(round(percent), "%")), position = position_stack(vjust = 0.5), check_overlap = T)
Thank you!
Upvotes: 1
Views: 377