I’m a bit lost on this one, I’ve tried messing around with geom_polygon but successive attempts seem worse than the previous.
The image that I’m trying to recreate is this, the colours are unimportant, but the positions are:

In addition to creating this, I also need to be able to label each element with text.
At this point, I’m not expecting a solution (although that would be ideal) but pointers or similar examples would be immensely helpful.
One option that I played with was hacking scale_shape and using 1,1 as coords. But was stuck with being able to add labels.
The reason I’m doing this with ggplot, is because I’m generating scorecards on a company by company basis. This is only one plot in a 4 x 10 grid of other plots (using pushViewport)
Note: The top tier of the pyramid could also be a rectangle of similar size.
Full Disclosure: This was also posted to the ggplot2 mailing list. (I’ll update if I receive a response)
It seems like you could use a combination of
geom_path()andgeom_segment()since you either know or can reasonably guesstimate the coordinate locations for each major point on your graph/chart/thingamajigger up there. Maybe something like this would work? The data.frame that was constructed contains the outline of the shape above (I opted for the rectangle at the top…I’m sure you could find an easy way to generate the points to approximate a circle if you really wanted. Then usegeom_segment()to divvy up that large shape as you need.Edit:
qplot()was deprecated in ggplot2 3.4.0. Here is the same code using ggplot aes: