12 Data Visualization

12.1 A ggplot2 Tutorial for Beautiful Plotting in R

by Cédric Sherer

(Oscar: Not a book per se, but it should be, so I’m adding !)

A mega tutorial of creating great ggplot2 visuals.

Link: https://cedricscherer.netlify.app/2019/08/05/a-ggplot2-tutorial-for-beautiful-plotting-in-r/

12.2 An Introduction to ggplot2

by Ozancan Ozdemir

This book aims to show how you can make a well-known statistical plots by using ggplot2, and also how you can improve or customize them.

Link: https://bookdown.org/ozancanozdemir/introduction-to-ggplot2/

12.3 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.

Link: https://bbc.github.io/rcookbook/

12.4 Data Processing & Visualization

by Michael Clark

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.

Link: https://m-clark.github.io/data-processing-and-visualization/

12.5 Data visualisation using R, for researchers who don’t use R

by Emily Nordmann, Phil McAleer, Wilhelmiina Toivo, Helena Paterson, Lisa DeBruine

In this tutorial, we aim to provide a practical introduction to data visualisation using R, specifically aimed at researchers who have little to no prior experience of using R. First we detail the rationale for using R for data visualisation and introduce the “grammar of graphics” that underlies data visualisation using the ggplot package. The tutorial then walks the reader through how to replicate plots that are commonly available in point-and-click software such as histograms and boxplots, as well as showing how the code for these “basic” plots can be easily extended to less commonly available options such as violin-boxplots.

Link: https://psyteachr.github.io/introdataviz/

12.6 Data Visualization - A practical introduction

by Kieran Healy

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

Link: https://socviz.co/

12.7 Data Visualization in R

by 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.

Link: https://geanders.github.io/navy_public_health/index.html#prerequisites

12.8 Data Visualization with R

by 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.

Link: https://rkabacoff.github.io/datavis/

12.9 Fundamentals of Data Visualization

by Claus Wilke

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

Link: https://clauswilke.com/dataviz/

12.10 ggplot2 Elegant Graphics for Data Analysis

by 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.

Link: https://ggplot2-book.org/

12.11 ggplot2 in 2

by Lucy D’Agostino McGowan

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 :).

Paid: Pay what you want, minimum $4.99 $5

Link: https://leanpub.com/ggplot2in2

12.12 Graphical Data Analysis with R

by 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/

Link: http://www.gradaanwr.net/

12.13 Hands-On Data Visualization Interactive Storytelling from Spreadsheets to Code

by Jack Dougherty, Ilya Ilyankou

(Oscar: looks like am amazing resource and includes code templates!)

In this book, you’ll learn how to create true and meaningful data visualizations through chapters that blend design principles and step-by-step tutorials, in order to make your information-based analysis and arguments more insightful and compelling. Just as sentences become more persuasive with supporting evidence and source notes, your data-driven writing becomes more powerful when paired with appropriate tables, charts, or maps. Words tell us stories, but visualizations show us data stories by transforming quantitative, relational, or spatial patterns into images. When visualizations are well-designed, they draw our attention to what is most important in the data in ways that would be difficult to communicate through text alone.

Link: https://handsondataviz.org/

12.14 JavaScript for R

by John Coene

Learn how to build your own data visualisation packages, improve shiny with JavaScript, and use JavaScript for computations.

Link: https://javascript-for-r.com

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

by 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.

Link: https://plotly-r.com/

12.16 R Graphics Cookbook, 2nd edition

by Winston Chang

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

Link: https://r-graphics.org/

12.17 Solutions to ggplot2 Elegant Graphics for Data Analysis

by Howard Baek

This is the website for “Solutions to ggplot2: Elegant Graphics for Data Analysis,” a solution manual to the exercises in the 3rd edition of ggplot2: Elegant Graphics for Data Analysis, written by Hadley Wickham, Danielle Navarro, and Thomas Lin Pedersen. While there are bookdown solution manuals to Hadley Wickham’s Advanced R and Mastering Shiny, there is no such thing for the ggplot2 book. This website is an attempt to fill this missing void.

Link: https://ggplot2-book-solutions-3ed.netlify.app/index.html

12.18 The Hitchhiker’s Guide to Ggplot2

by Mauricio Vargas Sepúlveda, Jodie Burchell

This book will help you master R plots the easy way. We have spent a long time creating R plots with different tools (base, lattice and ggplot2) during different academic and working positions. If you want to create highly customised plots in R, including replicating the styles of XKCD, The Economist or FiveThirtyEight, this is your book.

Paid: Pay what you want, minimum $5 $10

Link: https://leanpub.com/ggplot-guide

 

Created and maintained by Oscar Baruffa.
Keen to support the site? You're most welcome to Buy Me a Coffee at ko-fi.com

For updates, sign up to my newsletter