I have a four-dimensional dataset, let\'s call the variables x, y, z and r. There is at most one entry for each combination of x and y.
Currently, I have a scatterplot where
You can use ggforce to realize the function, but someone has already done this for you, and created another R package called scatterpie, you can find it here