title: ggplot2 pie chart bad position of labels
body: <h1>Sample data</h1>
  <pre><code>data &lt;- data.frame(Country = c(&quot;Mexico&quot;,&quot;USA&quot;,&quot;Canada&quot;,&quot;Chile&quot;), Per = c(15.5,75.3,5.2,4.0))
  </code></pre>
  <p>I tried set position of labels.</p>
  <pre><code>ggplot(data =data) +
  geom_bar(aes(x = &quot;&quot;, y = Per, fill = Country), stat = &quot;identity&quot;, width = 1) +
  coord_polar(&quot;y&quot;, start = 0) + 
  theme_void()+ 
  geom_text(aes(x = 1.2, y = cumsum(Per), label = Per)) 
  </code></pre>
  <p>But pie chart actually look like:</p>
  <p><img src="https://i.stack.imgur.com/9sPFo.png" alt="Pie chart" /></p>