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
You should add this theme to the ggthemes R package: https://github.com/jrnold/ggthemes
Posted by: Dan G | March 27, 2014 at 16:12
Good stuff. I love these palettes! 95% of the work goes into massaging the data and producing a graphic. It's nice to have a great color palette to use as the polish.
Posted by: Nick S. | April 08, 2014 at 09:33