<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/presentation-slides-on-using-graphics/"></div></div><div><a data-url="http://www.r-bloggers.com/presentation-slides-on-using-graphics/" data-counturl="http://www.r-bloggers.com/presentation-slides-on-using-graphics/" data-count="horizontal" data-text="Presentation slides on using graphics" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://ellisp.github.io/blog/2016/06/14/graphics-presentation"> Peter's stats stuff - R</a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Last week I gave a seminar for around 40 analysts from another government agency on using graphics to represent data. In doing such presentations, I usually focus on different purposes of graphics:</p>
<ul>
<li>exploratory</li>
<li>as part of the analysis workflow (eg as diagnosis for statistical models)</li>
<li>for presenting results</li>
</ul>
<p>Exactly what the purpose is makes quite a difference to how you go about developing the graphic – and how long you spend polishing of course.</p>
<p>I’m heavily influenced by Tufte’s idea of “Graphical Excellence”. Here’s a Tufte-inspired taster of an alternative to a side-by-side barchart:</p>
<p><img alt="tufte-eg" src="http://i1.wp.com/ellisp.github.io/img/0044-control-trial.png?w=456" data-recalc-dims="1"></p>
<p>OK, it’s not perfect, and it doesn’t mean much without its context, but it gives an idea…</p>
<p>This particular presentation was a cut-down version of a seminar session I give at the beginning of a five week (5 x 90 minutes) internal training course on Graphics Fundamentals, with the next four sessions all hands-on implementing the principles with R, layered grammar of graphics and <code>ggplot2</code>.</p>
<p>Making slides available without the context of the talk is always dangerous. If the slides are self-sufficient, you’re not doing it right. They should be props, not scripts. Nonetheless, they might be of some interest even for those who weren’t there (a bit like Jeopardy – try to imagine what points the speaker is trying to make at different points).</p>
<p>This particular set of slides makes use of the <a target="_blank" href="https://github.com/hakimel/reveal.js/"><code>reveal.js</code> HTML presentation framework</a> and in particular RStudio’s easy-to-use <a target="_blank" href="https://github.com/rstudio/revealjs">R Markdown plugin <code>revealjs</code></a> which makes it super easy to integrate R code and graphics into a nice-looking presentation. I don’t have any R code in this presentation – it was deliberately software-neutral – but I use <code>revealjs</code> all the time for training material and it’s fantastic to have a snippet of code so easily integrated. And the general look and feel of <code>reveal.js</code> is extremely pleasant.</p>
<p><code>reveal.js</code> supports two-dimensional presentations, which means you can navigate through the slides in a slightly more sophisticated way than PowerPoint. Tip for navigating – just keep using <code>PgDn</code> if the arrows are confusing you!</p>
<p>Browse:</p>
<ul>
<li>the <a target="_blank" href="http://ellisp.github.io/presentations/graphics-intro.html">presentation slides on using graphics to represent data</a>.</li>
<li>the <a target="_blank" href="https://github.com/ellisp/graphics-taster/blob/master/graphics-ird.Rmd">source code</a> – which won’t be fully reproducible because of some data availability issues, but will give you a good idea.</li>
</ul>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="http://www.r-bloggers.com/presentation-slides-on-using-graphics/"></div></div><div><a data-url="http://www.r-bloggers.com/presentation-slides-on-using-graphics/" data-counturl="http://www.r-bloggers.com/presentation-slides-on-using-graphics/" data-count="vertical" data-text="Presentation slides on using graphics" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://ellisp.github.io/blog/2016/06/14/graphics-presentation"> Peter's stats stuff - R</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/v4z3PnYQ9dY"></a></div>