On Fri, Jun 26, 2009 at 10:27 PM, Osman Al-Radi<osman.al.r...@gmail.com> wrote: > Dear Richard and David, > > Thanks for this reference. I looked into vcd and mosaic plot, it is a nice > plot for investigating associations between two or more variables. However, > I just need to plot the frequency of a single variable as the area of the > box. boxes are stacked to fill a larger box that represents the entire > population. The axes are non-informative. > > I am trying to recreate the plot in the following website, used to represent > the market capital of public companies. I would like to use a similar plot > for a totally different application. > > The website: http://finviz.com/map.ashx
That plot is called a treemap, and as far as I know there is no implementation in R. If you wanted you to implement it yourself, the java code from http://www.cs.umd.edu/hcil/treemap-history/Treemaps-Java-Algorithms.zip would probably be a good place to start. Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.