I also used the Venn chart generator online on the Gio University's Bioinformatics website and wanted to get my own function. Of course, the idea is for each intersection area to be reasonably sized so that the text for the counts can be the same size. Here is my attempt:
fiveCellVenn <- function(colorList=col2rgb(rainbow(5)), cellCounts=seq(1,31,1), cellLabels=c("one","two","three","four","five"), saturation=.25){ rotateVec <-function(vec,amount){ return(c(vec[(amount+1):length(vec)], vec[1:amount])) } n=70 xhull <- c() yhull <- c() for (i in 1:n){ xhull <- c(xhull, cos((i*2*pi)/n)) yhull <- c(yhull, sin((i*2*pi)/n)) }
Then
fiveCellVenn()

gives Venn, similar to your first. I have no reputation for posting images. You probably want to subordinate colors and move cell names.
user141290
source share