# Style your R charts like the Economist, Tableau &#8230; or XKCD

- Author: DavidMSmith
- Published: 2012-10-06
- Canonical: https://www.smartdatacollective.com/style-your-r-charts-economist-tableau-or-xkcd/

As we noted last month, the new [Themes feature in ggplot2](http://blog.revolutionanalytics.com/2012/09/style-your-ggplot2-charts-with-themes.html) helps you customize the design of R charts to your liking. Now, R user [Jeffrey Arnold](http://www.jrnold.me/) has built on this feature to create standardized themes to make R graphics looks like those from major publications and other software systems. You can use his ggthemes package to make your charts look like those in *The Economist*:

[](http://revolution-computing.typepad.com/.a/6a010534b1db25970b017c32579c98970b-pi)

or as if it was created with data visualization software Tableau:

[](http://revolution-computing.typepad.com/.a/6a010534b1db25970b017d3c8600d9970c-pi)

or if you're an R user on the down-low, with that "classic ugly look and feel" of Microsoft Excel. (A better idea would be to just come out!)

[](http://revolution-computing.typepad.com/.a/6a010534b1db25970b017d3c860304970c-pi)

You can [download Jeffrey's ggthemes package from github](https://github.com/jrnold/ggthemes). Not included in the package (yet) is a theme mimicking the hand-drawn style of the charts featured in the [XKCD comic series](http://xkcd.com/1064/), but [StackOverflow is all over it](http://stackoverflow.com/questions/7578536/how-can-i-persuade-ggplot2-geom-text-to-label-a-specified-date-in-a-time-series). For example, Mark Bulling shared the ggplot2 theme that created this XKCD-styled chart of Google Trends data:

[](http://revolution-computing.typepad.com/.a/6a010534b1db25970b017ee3fb5a3e970d-pi)

By the way, if you want to create similar charts reflecting the rate at which specific Google searches are performed, you can use the new [rGtrends package](https://github.com/emhart/rGtrends) from Edmund Hart.

