In this chapter we discuss best practice for plotting data for common experimental designs in biomedical science. We begin by exemplifying plots created with R, to provide a sense of possibilities. Next, we discuss what a good visual display of data should do and why. Finally, we walk through an example of plotting data for experiments with several treatments and focus on the need to display all of the data (not merely mean values) to communicate results transparently.We will teach data visualization using basic R, not ggplot2 (which can also produce beautiful figures), to keep our approach as simple as possible. (That said, some would argue that ggplot2 is simpler.) We provide a link to resources to learn ggplot2, below, for interested users.The range of ways that we might display data is as diverse as the biological questions we might ask of our data. We recognise that, by focusing on plotting data for factorial experiments, our treatment of plotting data is currently rather thin. For example, students of ecology and evolution would probably like to see examples of plotting data with continuous, independent variables ('covariates' eg, multiple regression).We aim to provide more support in this area in the future. For the moment, please note that chapters dealing with the analysis of covariates provide some suggestions (and code) to plot such data. We also point you to the resource for ggplot2 (see below) for detailed support for plotting many types of data.A general introduction to plotting dataThis video introduces general ideas for plotting data by way of example Document Plotting data effectively (1.77 MB / PPTX) How to read a box plotAn explanation of boxplots. The video includes very simple simulations to help the viewer develop a feel for variation in the appearance of boxplots for normally distributed data. Document How to read a boxplot (121.31 KB / PPTX) Advice for plotting a continuous dependent variable with multiple categoriesAn exploration of presenting data clearly for experiments with defined treatments and a continuous dependent variable Document Experimental data - Displaying data experiments treatments Part 1 (10.55 MB / PPT) How to plot continuous data from groups using RThis video walks through R code to produce boxplots for a continuous dependent variable from multiple groups. It also shows how to add individual points, change font size and create axis labels. Document Displaying data experiment treatments - Part 2 (733 KB / PPT) Plotting means with error bars instead of box plotFor some purposes, it may be useful to plot a mean with error bars (eg. standard error or confidence intervals) instead of plotting a box plot. The chapter 'measuring an average with uncertainty' deals with standard errors and 95% confidence intervals, and demonstrates how to create figures that display both mean +/- error and individual data points.Learning ggplot2If you are interested in learning to use ggplot2, which is an excellent facility for producing figures in R, please see link to this online publication which will help you understand the details of the underlying theory, giving you the power to tailor any plot specifically to your needs.View online version of ggplot2:elegant graphics for data analysisPractice problems and answers Document Experimental data chapter 4 Box Plot Exercise (14.43 KB / DOCX) Document Experimental data chapter 4 Plants data (10.37 KB / CSV) Document Experimental data chapter 4 Box Plot Answers (350.86 KB / PDF) Recommended readingWhitlock & Schluter, The analysis of Biological Data, Chapter 2, “Displaying data”Beyond Bar and Line Graphs: Time for a new Data Presentation Paradigm This article was published on 2024-08-05