Give your R charts that Wes Anderson style

March 26, 2014

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

I'm a big fan of Wes Anderson's movies. I love the quirky characters and stories, the distinctive cinematography, and the unique visual style. Now you can bring some of that style to your own R charts, by making use of these Wes Anderson inspired palettes. Just choose your favourite Wes Anderson film or short


Install the wesanderson pallettes package, created by Karthik Ram:


And convert your plain old ggplot2 charts like this:


Into this:


Here's the command for you cut-and-pasters:

ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar() + 
 scale_fill_manual(values = wes.palette(5, "Cavalcanti")) 

The colors don't quite match up to the originals, but you can find other Wes Anderson-inspired palettes and adjust to your heart's content using the source code available from Karthik Ram's github page linked below. 

Karthik Ram: Wes Anderson Palettes

To leave a comment for the author, please follow the link and comment on their blog: Revolutions. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, 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...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)