Here is a basic example of a Venn diagram with 3 groups realised using the Matplotlib library.
# Import the library import matplotlib.pyplot as plt from matplotlib_venn import venn3 # Make the diagram venn3(subsets = (10, 8, 22, 6,9,4,2)) plt.show()