I don’t really care for the name “marimekko” or “mosaic,” but I do like this type of plot as a means of illustrating proportions in nested categorical data, or as an alternative to the parallel time series plots discussed here (see this rather amateurish example).

The Gist below is my attempt to make these somewhat complicated plots as simple as possible (here is another worthwhile approach). One problem that I run into when producing these mosaic plots is that every one seems different, but I have attempted to distill each box into four consistent parameters, and I include two distinct data examples.

*Related*

To

**leave a comment** for the author, please follow the link and comment on his blog:

** is.R()**.

R-bloggers.com offers

**daily e-mail updates** about

R news and

tutorials on topics such as: visualization (

ggplot2,

Boxplots,

maps,

animation), programming (

RStudio,

Sweave,

LaTeX,

SQL,

Eclipse,

git,

hadoop,

Web Scraping) statistics (

regression,

PCA,

time series,

trading) and more...

If you got this far, why not

__subscribe for updates__ from the site? Choose your flavor:

e-mail,

twitter,

RSS, or

facebook...

**Tags:** ggplot2, graphics, RColorBrewer, rstats, vcd