Welcome!

This is an annotated library of data visualization resources we used to build the BIOS² Data Visualization Training, as well as some bonus resources we didn’t have the time to include. Feel free to save this page as a reference for your data visualization adventures!


1 Books & articles

Fundamentals of Data Visualization
A primer on making informative and compelling figures. This is the website for the book “Fundamentals of Data Visualization” by Claus O. Wilke, published by O’Reilly Media, Inc.

Data Visualization: A practical introduction
An accessible primer on how to create effective graphics from data using R (mainly ggplot). This book provides a hands-on introduction to the principles and practice of data visualization, explaining what makes some graphs succeed while others fail, how to make high-quality figures from data using powerful and reproducible methods, and how to think about data visualization in an honest and effective way.

Data Science Design (Chapter 6: Visualizing Data)
Covers the principles that make standard plot designs work, show how they can be misleading if not properly used, and develop a sense of when graphs might be lying, and how to construct better ones.

Graphical Perception: Theory, Experimentation, and Application to the Development of Graphical Methods
Cleveland, William S., and Robert McGill. “Graphical Perception: Theory, Experimentation, and Application to the Development of Graphical Methods.” Journal of the American Statistical Association, vol. 79, no. 387, 1984, pp. 531–554. JSTOR, www.jstor.org/stable/2288400. Accessed 9 Oct. 2020.

Graphical Perception and Graphical Methods for Analyzing Scientific Data
Cleveland, William S., and Robert McGill. “Graphical perception and graphical methods for analyzing scientific data.” Science 229.4716 (1985): 828-833.

From Static to Interactive: Transforming Data Visualization to Improve Transparency
Weissgerber TL, Garovic VD, Savic M, Winham SJ, Milic NM (2016) designed an interactive line graph that demonstrates how dynamic alternatives to static graphics for small sample size studies allow for additional exploration of empirical datasets. This simple, free, web-based tool demonstrates the overall concept and may promote widespread use of interactive graphics.

Data visualization: ambiguity as a fellow traveler
Research that is being done about how to visualize uncertainty in data visualizations. Marx, V. Nat Methods 10, 613–615 (2013). https://doi.org/10.1038/nmeth.2530

Data visualization standards
Collection of guidance and resources to help create better data visualizations with less effort.


2 Design principles

Gestalt Principles for Data Visualization: Similarity, Proximity & Enclosure
Short visual guide to the Gestalt Principles.

Why scientists need to be better at data visualization
A great overview of principles that could improve how we visualize scientific data and results.

A collection of graphic pitfalls
A collection of short articles about common issues with data visualizations that can mislead or obscure your message.


3 Choosing a visualization

Data Viz Project
This is a great place to get inspiration and guidance about how to choose an appropriate visualization. There are many visualizations we are not used to seeing in ecology!

From data to Viz | Find the graphic you need
Interactive tool to choose an appropriate visualization type for your data.


4 Colour

What to consider when choosing colors for data visualization
A short, visual guide on things to keep in mind when using colour, such as when and how to use colour gradients, the colour grey, etc.

ColorBrewer: Color Advice for Maps
Tool to generate colour palettes for visualizations with colorblind-friendly options. You can also use these palettes in R using the RColorBrewer package, and the scale_*_brewer() (for discrete palettes) or scale_*_distiller() (for continuous palettes) functions in ggplot2.

Color.review
Tool to pick or verify colour palettes with high relative contrast between colours, to ensure your information is readable for everyone.

Coblis — Color Blindness Simulator
Tool to upload an image and view it as they would appear to a colorblind person, with the option to simulate several color-vision deficiencies.

500+ Named Colours with rgb and hex values
List of named colours along with their hex values.

CartoDB/CartoColor
CARTOColors are a set of custom color palettes built on top of well-known standards for color use on maps, with next generation enhancements for the web and CARTO basemaps. Choose from a selection of sequential, diverging, or qualitative schemes for your next CARTO powered visualization using their online module.


5 Tools

5.1 R

The R Graph Gallery
A collection of charts made with the R programming language. Hundreds of charts are displayed in several sections, always with their reproducible code available. The gallery makes a focus on the tidyverse and ggplot2.

Base R

Cheatsheet: Margins in base R
Edit your margins in base R to accommodate axis titles, legends, captions, etc.!

Customizing tick marks in base R
Seems like a simple thing, but it can be so frustrating! This is a great post about customizing tick marks with base plot in R.

Animations in R (for time series)
If you want to use animations but don’t want to use ggplot2, this demo might help you!

ggplot2

Cheatsheet: ggplot2
Cheatsheet for ggplot2 in R - anything you want to do is probably covered here!

Coding Club tutorial: Data Viz Part 1 - Beautiful and informative data visualization
Great tutorial demonstrating how to customize titles, subtitles, captions, labels, colour palettes, and themes in ggplot2.

Coding Club tutorial: Data Viz Part 2 - Customizing your figures
Great tutorial demonstrating how to customize titles, subtitles, captions, labels, colour palettes, and themes in ggplot2.

ggplot flipbook
A flipbook-style demonstration that builds and customizes plots line by line using ggplot in R.

gganimate: A Grammar of Animated Graphics
Package to create animated graphics in R (with ggplot2).

5.2 Python

The Python Graph Gallery
This website displays hundreds of charts, always providing the reproducible python code.

Python Tutorial: Intro to Matplotlib
Introduction to basic functionalities of the Python’s library Matplotlib covering basic plots, plot attributes, subplots and plotting the iris dataset.

The Art of Effective Visualization of Multi-dimensional Data
Covers both univariate (one-dimension) and multivariate (multi-dimensional) data visualization strategies using the Python machine learning ecosystem.

5.3 Julia

Julia Plots Gallery
Display of various plots with reproducible code in Julia.

Plots in Julia
Documentation for the Plots package in Julia, including demonstrations for animated plots, and links to tutorials.

Animations in Julia
How to start making animated plots in Julia.


6 Customization

Chart Studio
Web editor to create interactive plots with plotly. You can download the image as .html, or static images, without coding the figure yourself.

PhyloPic
Vector images of living organisms. This is great for ecologists who want to add silhouettes of their organisms onto their plots - search anything, and you will likely find it!

Add icons on your R plot
Add special icons to your plot as a great way to customize it, and save space with labels!


7 Inspiration (pretty things!)

Information is Beautiful
Collection of beautiful original visualizations about a variety of topics!

TidyTuesday
A weekly data project aimed at the R ecosystem, where people wrangle and visualize data in loads of creative ways. Browse what people have created (#TidyTuesday on Twitter is great too!), and the visualizations that have inspired each week’s theme.

Wind currents on Earth
Dynamic and interactive map of wind currents on Earth.

A Day in the Life of Americans
Dynamic visualisation of how Americans spend their time in an average day.

2019: The Year in Visual Stories and Graphics
Collection of the most popular visualizations by the New York Times in 2019.