Here is a post which discusses Venn diagram from list of clusters and co-occurring factors.
For easy solution use package venneuler:
Copyrequire(venneuler)
v <- venneuler(c(A=450, B=1800, "A&B"=230))
plot(v)

For more advanced and customized solutions check package VennDiagram.
Copylibrary(VennDiagram)
venn.diagram(list(B = 1:1800, A = 1571:2020), fill = c("lightblue", "green"),
alpha = c(0.5, 0.5), lwd =0, "venn_diagram.tiff")

Top answer 1 of 7
58
Here is a post which discusses Venn diagram from list of clusters and co-occurring factors.
For easy solution use package venneuler:
Copyrequire(venneuler)
v <- venneuler(c(A=450, B=1800, "A&B"=230))
plot(v)

For more advanced and customized solutions check package VennDiagram.
Copylibrary(VennDiagram)
venn.diagram(list(B = 1:1800, A = 1571:2020), fill = c("lightblue", "green"),
alpha = c(0.5, 0.5), lwd =0, "venn_diagram.tiff")

2 of 7
55
I have recently published a new R package, eulerr, which does what you want. It is quite similar to venneuler but without its inconsistencies.
Copylibrary(eulerr)
fit <- euler(c(A = 450, B = 1800, "A&B" = 230))
plot(fit)

Or you could try the shiny application for the same r package at eulerr.co

Videos
06:07
Add Title to Venn Diagram in R (3 Examples) | VennDiagramm, ...
03:00
Draw Venn Diagram with Opacity in R (2 Examples) | Transparent ...
01:17
How to set up a Venn Diagram. - YouTube
05:05
How To Make A Venn Diagram in R - YouTube
09:41
Venn Diagram in R (8 Examples) | How to Create Logic Primary Diagrams ...
CRAN
cran.r-project.org › web › packages › eulerr › vignettes › venn-diagrams.html
Venn diagrams with eulerr - CRAN - R Project
April 20, 2026 - An area-proportional Euler diagram is often much more intuitive and, for relatively sparse inputs, much easier to interpret. The property of being area-proportional may sometimes, however, be treacherous, at least if the viewer isn’t advised of the diagram’s faults. In such instances, it is often better to give up on area-proportionality and use a Venn diagram.
YouTube
youtube.com › watch
Draw Venn Diagram with Proportional Size in R (Example) | Different Sizes | VennDiagram & venneuler - YouTube
How to create a venn diagram with sets proportional to size in the R programming language. More details: https://statisticsglobe.com/venn-diagram-with-propor...
Published August 7, 2021
Top answer 1 of 15
12
Something quite interesting that I learned from the VizBi conference (workshop on visualizing biological data) last month concerns depicting relationships linearly vs by area. Humans can proportionally relate objects of different lengths. That is if A = 10 and B = 5, A looks exactly twice as long, and if A = 10 and B = 9.8, B looks shorter. If A and B are depicted by area, things get difficult to discern because perceived differences in area relate to one another not by the power of 1.0 but by 0.6-0.7. Thus, one loses the degree of difference between objects when using area. · Although Venn diagrams are popular and convenient, this information is something to keep in mind when trying to depict the relationships. · Added 27 Apr 2011: Try Hohli at charts.hohli.com. With Hohli, you can create a Venn diagram and customize its look and feel. One can specify a title, choose data points, and alter the background. Hohli also allows you to create other charts, including scatter plots and other line charts.
2 of 15
11
The Google Chart API will do this. · Update - the Chart API has now been deprecated (bummer...)
Rdrr.io
rdrr.io › cran › BioVenn › man › draw.venn.html
draw.venn: Draw an area-proportional Venn diagram of 2 or 3 circles in BioVenn: Create Area-Proportional Venn Diagrams from Biological Lists
June 19, 2021 - Browse all... ... This function creates an area-proportional Venn diagram of 2 or 3 circles, based on lists of (biological) identifiers. It requires three parameters: input lists X, Y and Z. For a 2-circle Venn diagram, one of these lists should be left empty.
Bio-spring
venn.bio-spring.top › intro
Chapter 2 Introduction | Venn Diagram cookbook in R
venn("AD, AB~C + BC~D", zcol = c("blue", "red")) venn("1-----") ... nVennR provides an interface for the nVenn algorithm (Pérez-Silva, Araujo-Voces, and Quesada 2018). This algorithm works for any number of sets, and usually yields pleasing and informative Venn diagrams with proportionality information.
R-universe
bioc.r-universe.dev › articles › gVenn › gVenn.html
gVenn: Proportional Venn diagrams for genomic regions and gene set overlaps - gVenn
October 29, 2025 - Introduction | Installation | Example workflow | 1. Load example ChIP-seq peak sets (genomic) | 2. Compute overlaps between genomic regions | 3. Visualization | Venn diagram | UpSet plot | Export visualization | 4. Extract elements per overlap group | Overlap group naming | Extract one particular group | Export overlap groups | For all overlap types (genomic or gene sets): | For genomic overlaps only: | Customization examples | Custom fills with transparency | Colored edges, no fills (colored borders only) | Custom labels and counts + percentages | Legend at the bottom with custom text | Combining multiple custom options | Session info | References | Example A549 ChIP-seq dataset | Supporting packages
IOS Press
content.iospress.com › articles › data-science › ds210032
BioVenn – an R and Python package for the comparison and visualization of biological lists using area-proportional Venn diagrams - Tim Hulsen, 2021
However, this web implementation requires users to copy and paste (or upload) lists of IDs into the web browser, which is not always convenient and makes it difficult for researchers to create Venn diagrams ‘in batch’, or to automatically update the diagram when the source data changes. This is only possible by using software such as R or Python. This paper describes the BioVenn R and Python packages, which are very easy-to-use packages that can generate accurate area-proportional Venn diagrams of two or three circles directly from lists of (biological) IDs.
Uwaterloo
sas.uwaterloo.ca › ~rwoldfor › students › ZehaoXu › venn.pdf pdf
Size proportional Venn and Euler diagrams in 2 and 3 dimensions:
Location of the Venn and Euler diagram is · the pixel-wise logical disjunction of all m squares, pixels in each disjoint region of the diagram are identified · by a unique pattern of the m bits for that location. ... For any configuration, the vector of sizes for the disjoint balls will be b⋆. If fit perfectly, this should be · proportional ...
Top answer 1 of 3
1
Some combinations of set intersections are impossible to represent exactly with circles so some heuristics and approximations have to be used. Unfortunately, what the venneuler package uses leads to problems with large overlaps. The VennDiagram package seems to be doing a better job in this case.
2 of 3
1
Thank you all! I trid other packages and it works with any one of them! · It works perfectly well with "eulerr" package on R. · library(eulerr) · vd <- euler(c(A=10, B=6, "A&B"=6)) · plot(vd)
Rdrr.io
rdrr.io › cran › eulerr › man › venn.html
venn: Venn diagrams in eulerr: Area-Proportional Euler and Venn Diagrams with Ellipses
May 29, 2024 - # The trivial version f1 <- venn(5, names = letters[1:5]) plot(f1) # Using data (a numeric vector) f2 <- venn(c(A = 1, "B&C" = 3, "A&D" = 0.3)) # The table method venn(pain, factor_names = FALSE) # Using grouping via the 'by' argument through the data.frame method venn(fruits, by = list(sex, age)) # Using the matrix method venn(organisms) # Using weights venn(organisms, weights = c(10, 20, 5, 4, 8, 9, 2)) # A venn diagram from a list of sample spaces (the list method) venn(plants[c("erigenia", "solanum", "cynodon")]) eulerr documentation built on May 29, 2024, 1:35 a.m. ... Package overview README.md A Gallery of Euler and Venn Diagrams eulerr under the hood Introducing eulerr Loss Functions Venn diagrams with eulerr Visualizing Euler diagrams with eulerr
R Project
search.r-project.org › CRAN › refmans › BioVenn › html › draw.venn.html
R: Draw an area-proportional Venn diagram of 2 or 3 circles
This function creates an area-proportional Venn diagram of 2 or 3 circles, based on lists of (biological) identifiers. It requires three parameters: input lists X, Y and Z. For a 2-circle Venn diagram, one of these lists should be left empty. Duplicate identifiers are removed automatically, ...
Andrew Wheeler
andrewpwheeler.com › 2015 › 07 › 21 › venn-diagrams-in-r-with-some-discussion
Venn diagrams in R (with some discussion!) | Andrew Wheeler
January 4, 2018 - I think this idea could be made to work, but this particular example making the Venn even approximately proportional is impossible, and so sticking with the non-proportional Venn diagram and just saying it is not proportional is maybe less likely to be misleading. I think the idea of using Isotype like repeated structures though could be a generally good idea.