5
votes

I can make 2 and 3 circles with matplotlib_venn. Any possible to plot Venn diagram more than 3?

In my case I have 6 set of data and try to plot Venn diagram with 6 circles

2
How would you obtain 2^6 = 64 regions by intersecting 6 circles? This is topologically impossible.Julien
In theory you could consider other shapes besides circles and somehow organize them to show a considerable number of intersections (I doubt you could do all 63, but perhaps you could still get many of them). However this would not make much sense as a means of visualization.KT.
6 sets with triangles: combinatorics.org/Surveys/ds5/VennTriangleEJC.html, 7 sets with arbitrary shape (but near constant intersection area): moebio.com/research/sevensets. Of course areas are fixed in these cases.rwst

2 Answers

1
votes

I don't think so. The matplotlib-venn documentation says:

The package provides four main functions: venn2, venn2_circles, venn3 and venn3_circles.

Where venn2 is used to "draw a two-circle venn diagram" and venn3 is used to "draw a three-circle area-weighted venn diagram".

1
votes

The venn package can handle up to 6 rings, see https://pypi.org/project/venn/