Pages

Thursday, April 14, 2011

How to create a proportional Venn diagram?

Venn

Above is a typical Venn diagram. But I like mine so that the area of the circles reflect the number of object in that circle (or logarithm thereof), and the areas of the overlaps to be proportional to the number of objects in that overlap. Is there an 'arp' for that? (I know that "there is an app for this" it trademarketed... 'arp', instead, is short for R package).

Posted via email from Egon's posterous

5 comments:

  1. If you only need it once, you could use http://www.cmbi.ru.nl/cdd/biovenn/ , if not I'm afraid you will have to write it yourself.

    ReplyDelete
  2. Related R package, although I am not sure how well the area-proportionality is taken care of:
    http://www.biomedcentral.com/1471-2105/12/35

    There there is Java code which directly addresses the area-proportionality issue:
    http://www.biomedcentral.com/1471-2105/9/67

    ReplyDelete
  3. The R package Juuso refers to, makes nice diagrams but not scaled 3-venn diagrams. It would be cool if the developers of the package would implement an approximate solution to have scaled 3-venn diagrams drawn, as I guess biovenn and this applet do (http://www.cs.kent.ac.uk/people/staff/pjr/EulerVennCircles/EulerVennApplet.html)

    ReplyDelete
  4. Rajarshi wrote on FriendFeed [0]:

    "Google to the rescue!!!! http://r.789695.n4.nabble.com/Venn-Diagram-corresponding-to-size-in-R-td3342752.html"

    And someone asked the same question on BioStar [1] with pointer to Google Charts:

    http://code.google.com/apis/chart/docs/gallery/venn_charts.html

    0.http://friendfeed.com/egonw/ae7cb695/how-to-create-proportional-venn-diagram
    1.http://biostar.stackexchange.com/questions/7736/tool-to-generate-proportional-venn-diagrams/7738#7738

    ReplyDelete