(This article was first published on

**is.R()**, and kindly contributed to R-bloggers)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.

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...