For questions about Venn diagrams.
Questions tagged [venn-diagram]
377 questions
11
votes
2 answers
Venn Diagram Drawing Algorithms
Someone asked about overlapping subclusters in GraphViz and got the following response:
Sorry, no. General subgraphs can share nodes without implying subset
containment but not clusters. The problem is in the drawing.
If clusters can overlap…

Andrew Tomazos
- 66,139
- 40
- 186
- 319
10
votes
1 answer
CSS Venn Diagram mouse hover
I'm trying to create a pure css Venn diagram like this
Where the circle gets highlighted on mouse hover. But the problem is: using the border-radius property if I mouse over the corner of the circle (outside the circle) , it triggers hover as…

mrBorna
- 1,757
- 16
- 16
10
votes
2 answers
.NET Venn Diagram Library
Is there an open source or paid .NET library that will create diagrams with two important features:
Create Venn Diagrams
Save the diagrams as images?

detroitpro
- 3,853
- 4
- 35
- 64
10
votes
4 answers
Get the list of items in Venn diagram
It is easy to the draw a Venn diagram with the following code:
library(VennDiagram)
set.seed(1) # For reproducibility of results
xx.1 <- list(A = sample(LETTERS, 15), B = sample(LETTERS, 15),
C = sample(LETTERS, 15), D =…

ccshao
- 499
- 2
- 8
- 19
10
votes
1 answer
How to print three venn diagrams in the same window
I would like to put together these three venn diagrams. So when I print them, they appear in the same page
library(VennDiagram)
df1 <- data.frame(G1=sample(1:100, 10), G2=sample(1:100, 10),
G3=sample(1:100, 10), G4=sample(1:100,…

Sergio.pv
- 1,380
- 4
- 14
- 23
10
votes
1 answer
VennDiagram - internal labels
I plotted my genelists using the VennDiagram R package, and the diagram looks fine.
I wanted to add internal labels to the Venn diagram like, if data is shared by first and second group but not by the third and fourth group, then the label should be…

user1732190
- 101
- 1
- 1
- 4
10
votes
5 answers
scaling triple Venn diagram in R with VennDiagram package
Does anyone know how to get the R package VennDiagram to scale the circles of a Venn diagram containing 3 intersecting sets according to set size?
I can achieve such scaling with the venneular package, but I find this a bit limited in terms of other…

user1563570
- 251
- 1
- 3
- 6
8
votes
1 answer
How to have title in R Vennerable Venn Diagram?
I cannot find anything in documentation here.
Code
library("Vennerable")
data(StemCell)
Vstem <- Venn(StemCell)
Vstem3 <- Vstem[, c("OCT4", "SOX2", "NANOG")]
tl <- "masi"
plot(Vstem3, doWeights = TRUE, type = "circles")
Tried…

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
8
votes
4 answers
The output order of function calculate.overlap
I am using "calculate.overlap" function in R package "VennDiagram". I am comparing four sets of data as following:
library(VennDiagram)
overlap=calculate.overlap(
x=list(
"1"=1,
"2"=2,
"3"=3,
"4"=4
)
)
The…

CandicePHChu
- 121
- 1
- 4
8
votes
1 answer
Venn3: How to reposition circles and labels?
I have made a three way venn diagram. I have three issues with it that I can't seem to solve.
What is the code to move the circle labels (i.e."Set1","Set2","Set3") because right now one is too far away from the circle.
What is the code to make the…

Tom
- 243
- 5
- 13
8
votes
1 answer
R: Color overlaps in Venn diagram by size of overlap
I think Venn diagrams are an extremly usefull way of comparing data. The problem is that as soon as I start having multiple (3 or more) classes the size of the circles can no longer indicate the size of the overlap.
What I would like to do is to…

Kristoffer Vitting-Seerup
- 586
- 1
- 7
- 16
7
votes
4 answers
Number of common letters in two strings
I have this code using collections Counter to find the number of common letters in two strings.
from collections import Counter
a = "abcc"
b = "bcaa"
answer = 0
ac = Counter(a)
bc = Counter(b)
for key in ac:
answer += min(ac[key],…

Max Paython
- 1,595
- 2
- 13
- 25
7
votes
2 answers
Finding intersect values using Python matplotlib-venn
I've been using matplotlib-venn to generate a venn diagram of 3 sets. Shown below.
I wanted to ask how can find the values of the intersects of these sets. For example, what are the 384 values that intersect set A and set B? What are the 144 values…

Rodrigo Matus-Nicodemos
- 351
- 2
- 8
- 17
6
votes
1 answer
legend venn diagram in venneuler
I would like to create a legend for a venneuler venn diagram. This should be straight forward because the function venneuler returns the colors used to the console. The colors are of a value between 0 and 1. I want to know how to turn those…

Tyler Rinker
- 108,132
- 65
- 322
- 519
6
votes
2 answers
Create venn diagram in python with 4 circles
How can I create a venn diagram in python from 4 sets? Seems like the limit in matplotlib is only 3?
from matplotlib_venn import venn3
v = venn3(
[
set(ether_list),
set(bitcoin_list),
set(doge_list),
],
)

heyzi1992
- 73
- 1
- 3