Exploded 180 degree pie chart in R ggplot or ggvis (image included)?
<p>Given a dataset with a factor column (X1) and a subtotal column (X2) </p>

<pre><code>  X1 X2 
1  1  12  
2  2  200 
3  3  23  
4  4  86  
5  5  141  
</code></pre>

<p>I would like to create a graphic like this:</p>

<p><img src="https://i.imgur.com/6PcBrzj.png" alt="like so"> </p>

<p>which gives x2 as a percentage of the X2 total, divided by X1.</p>

<p>Edit: clarity and adding dataset for reproducability</p>