Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Make a pie chart that exceeds the allowed total
ResourceFunction["OverfullPieChart"][{y1,y2,y3,…},max] makes a 3D pie chart of the data yi for which the maximum is max, bending it in 3D to make extra space. | |
ResourceFunction["OverfullPieChart"][{y1,y2,y3,…},max,n] uses a mode-n bending of the surface. |
Make a pie chart for which the total is 140, but the allowed total is only 100:
In[1]:= |
Out[1]= |
Without a maximum given, the maximum is assumed to be 1:
In[2]:= |
Out[2]= |
Use a higher mode of bending the paper:
In[3]:= |
Out[3]= |
Compare a regular pie chart and an overfull pie chart:
In[4]:= |
Out[5]= |
If the total is less than the maximum, the paper cannot bend without ripping:
In[6]:= |
See how the sheet bends in 3D:
In[7]:= |
Out[7]= |
For higher modes, the amplitude is obviously smaller:
In[8]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License