Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Venn diagrams


From   David Elliott <[email protected]>
To   [email protected]
Subject   Re: st: RE: Venn diagrams
Date   Fri, 22 Oct 2010 23:11:55 -0300

Having not been able to connect to Philip's link, I searched for an
alternate tool and discovered Google's charting API which recreated my
previous Venn with the following url code:
http://chart.apis.google.com/chart
   ?chf=bg,s,EFEFEF|c,s,FFFFFF
   &chs=300x225
   &cht=v
   &chco=FFFF42,FF0000,3366CC
   &chd=t:54.2,34.9,32.1,29.6,29.8,23.4,21.9
   &chdl=Alc|Tob|Can
   &chma=10,10,10,10
   &chtt=Alcohol%2C+Tobacco+and+Cannabis+Use
(reconstitute the URL by removing the breaks before the '?' and '&')

The string t:54.2,34.9,32.1,29.6,29.8,23.4,21.9 is simply the data for
the size of the circles followed by the combined proportions in the
following order: A,B,C,AB,AC,BC,ABC

Part of the beauty of this is that one could write a Stata routine to
append the necessary measurements and then shell to a web browser with
the resultant URL string.

DC Elliott
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index