title: R: One label situated wrong
body: <p>I have made the following plot using this code,</p>
  <p><img src="https://i.stack.imgur.com/0Dn3n.png" alt="pie chart with bad label" /></p>
  <p>however as u can see in the picture, the label for &quot;Mittlere Reife&quot; (16,2%) is not where its supposed to be. Every other label is situated perfectly, and I cant figure out why the one just won´t work. Thanks for your help ;)</p>
  <p>Editdput(Bildung):</p>
  <pre><code>Bildung &lt;- structure(list(Q4 = structure(c(1L, 2L, 3L, 5L, 4L), .Label = c(&quot;Andere&quot;, 
  &quot;Qualifizierter Hauptschulabschluss&quot;, &quot;Mittlere Reife&quot;, &quot;Fachabitur/Allgemeines Abitur&quot;, 
  &quot;Universitätsabschluss&quot;), class = &quot;factor&quot;), n = c(1L, 5L, 42L, 
  72L, 139L), perc = c(0.00386100386100386, 0.0193050193050193, 
  0.162162162162162, 0.277992277992278, 0.536679536679537), labels = c(&quot;0.4%&quot;, 
  &quot;1.9%&quot;, &quot;16.2%&quot;, &quot;27.8%&quot;, &quot;53.7%&quot;)), row.names = c(NA, -5L), class = c(&quot;tbl_df&quot;, 
  &quot;tbl&quot;, &quot;data.frame&quot;))    
  
  ggplot(Bildung, aes(x=&quot;&quot;, y= perc, fill=Q4)) +
    geom_bar(stat=&quot;identity&quot;, width=1) +
    geom_label(aes(label = labels),
               position = position_dodge2(width =1),
               show.legend = FALSE) +
    coord_polar(&quot;y&quot;, start=0)+
    theme_void()+
    labs(fill = &quot;Bildungsgrad&quot;)+
    scale_fill_brewer(palette = &quot;Blues&quot;)+
    theme(legend.key.size = unit(1, 'cm'))
  </code></pre>