title: How to explode donut chart slices using R (ggplot2)
body: <p>To the left is how my donut chart currently looks like and to the right how it should look like:</p>
  
  <p><a href="https://i.stack.imgur.com/tgm4m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgm4m.png" alt="enter image description here"></a></p>
  
  <p>Is there any way to explode the donut chart using R ?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>ggplot(dat, aes(fill = goalGroups, ymax = ymax, ymin = ymin, xmax = 4.8, xmin = 3)) +
    geom_rect(color = "white") +
    coord_polar(theta="y", direction = -1) +
    xlim(c(0, 8)) +
    theme_bw() +
    theme(panel.grid=element_blank()) +
    theme(axis.text=element_blank()) +
    theme(axis.ticks=element_blank()) +
    theme(axis.title.x = element_blank()) +
    theme(axis.title.y = element_blank()) +
    theme(panel.border = element_blank())
  </code></pre>
  
  <p>I am very grateful for any help!</p>