Exercise

Typical problems

When you first encounter a data visualization, either from yourself or a colleague, you always want to critically ask if it's obscuring the data in any way.

Let's take a look at the steps we could take to produce and improve the plot in the view.

The data comes from an experiment where the effect of two different types of vitamin C sources, orange juice or ascorbic acid, were tested on the growth of the odontoblasts (cells responsible for tooth growth) in 60 guinea pigs.

The data is stored in the TG data frame, which contains three variables: dose, len, and supp.

Instructions 1/4

undefined XP
    1
    2
    3
    4

The first plot contains purposely illegible labels. It's a common problem that can occur when resizing plots. There is also too much non-data ink.

  • Change theme_gray(3) to theme_classic().