dusadrian / venn

Draw Venn Diagrams
30 stars 7 forks source link

Area proportional Venn diagram for 3-Circles #25

Closed aaelony closed 9 months ago

aaelony commented 9 months ago

Awesome library! It would be even better if the circles were not the same size regardless of the counts. Is there a way to scale the size of the circles proportionate to the counts and make it area proportional?

Something akin to http://barc.wi.mit.edu/tools/venn/ ?

dusadrian commented 9 months ago

Thanks @aaelony, unfortunately not. What you want is an Euler diagram, as far as I am aware, while this package is only about the more restrictive Venn diagrams. It would actually be very difficult to scale the shape sizes for more than three sets, and there are numerous ways to arrange them on a plot window. My shapes have fixed coordinates, which makes them easy to produce. Best, Adrian

mmahmoudian commented 9 months ago

@aaelony As @dusadrian well said, what you are after is Euler venn diagram. This was also something that at some point confused me too. I have been using VennDiagram package for this [when I have to], although it is not as smooth as this venn package.

I also found eulerr and venneuler packages today, although I have not tested them. As you can see in the vignette of {eulerr}, the readability of the plot can suffer is the overlapping zones are small. This is why I personally have stick to {venn} instead of any of these Euler venns. Also, please note that they both have extra dependencies (one Java and one C++) which might cause issues in the long run (especially the Java one).

aaelony commented 9 months ago

@mmahmoudian , thank-you for your comment; the eulerr package looks like what I am looking for.
@dusadrian, thanks again for the authoring the venn package.