7 Data Visualization

7.1 ggplot2: Elegant Graphics for Data Analysis

Hadley Wickham

ggplot2 is an R package for producing statistical, or data, graphics. Unlike most other graphics packages, ggplot2 has an underlying grammar, based on the Grammar of Graphics (Wilkinson 2005), that allows you to compose graphs by combining independent components. This makes ggplot2 powerful. Rather than being limited to sets of pre-defined graphics, you can create novel graphics that are tailored to your specific problem.


7.2 ggplot2 in 2

Lucy D’Agostino McGowan

Pay what you want, minimum $4.99

Really good overview of ggplot2. The premise is that you’ll cover the fundamentals in 2 hours. Oscar Baruffa made a sped-up screencast while working through it. It did take 2 hours :).


7.3 Data Visualization - A practical introduction

Kieran Healy

This book is a hands-on introduction to the principles and practice of looking at and presenting data using R and ggplot.

The book is free online.


7.4 Data Processing & Visualization

This document provides some tools, demonstrations, and more to make data processing, programming, modeling, visualization, and presentation easier.While the programming language focus is on R, where applicable (which is most of the time), Python notebooks are also available,.


7.5 Data Visualization in R

Brooke Anderson

Workshop for the 2019 Navy and Marine Corps Public Health Conference. I have based this workshop on examples for you to try yourself, because you won’t be able to learn how to program unless you try it out. I’ve picked example data that I hope will be interesting to Navy and Marine Corp public health researchers and practitioners.


7.6 Data Visualization with R

Rob Kabakoff

This book helps you create the most popular visualizations - from quick and dirty plots to publication-ready graphs. The text relies heavily on the ggplot2 package for graphics, but other approaches are covered as well.


7.7 R Graphics Cookbook, 2nd edition

The goal of the cookbook is to provide solutions to common tasks and problems in analyzing data.

The book is free online.


7.8 plotly Interactive web-based data visualization with R, plotly, and shiny

Carson Sievert

In this book, you’ll gain insight and practical skills for creating interactive and dynamic web graphics for data analysis from R. It makes heavy use of plotly for rendering graphics, but you’ll also learn about other R packages that augment a data science workflow, such as the tidyverse and shiny. Along the way, you’ll gain insight into best practices for visualization of high-dimensional data, statistical graphics, and graphical perception.


7.9 BBC Visual and Data Journalism cookbook for R graphics

At the BBC data team, we have developed an R package and an R cookbook to make the process of creating publication-ready graphics in our in-house style using R’s ggplot2 library a more reproducible process, as well as making it easier for people new to R to create graphics.


7.10 Fundamentals of Data Visualization

Claus Wilke

The book is meant as a guide to making visualizations that accurately reflect the data, tell a story, and look professional.

The book is free online.


7.11 Graphical Data Analysis with R

Antony Unwin

The main aim of the book is to show, using real datasets, what information graphical displays can reveal in data. The target readership includes anyone carrying out data analyses who wants to understand their data using graphics.

The book is published by CRC Press and available to purchase, but all the examples and code are freely available on a comprehensive website accompanying the text at http://www.gradaanwr.net/