title: R percent labels on pie chart
body: <p>I'm trying to add some percent labels to a pie chart but any of the solutions works. The thing is that the chart displays the number of tasks completed grouped by category.</p>
  
  <pre><code> output$plot2&lt;-renderPlot({
  ggplot(data=data[data$status=='100% completed',], aes(x=factor(1), fill=category))+
    geom_bar(width = 1)+
    coord_polar("y")
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uQdZp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uQdZp.png" alt="enter image description here"></a></p>