ABD 3e Chapter 2
Graphs help us see patterns that are hard to detect in raw numbers.
They allow us to:
But different graphs highlight different things.
Choosing the right graph is necessary to show the most important features of the data clearly.
The type of graph you choose should be determined by:
A distribution describes how the values of a single variable are spread out
When you make a histogram or bar chart, you are showing:
Visualizing distributions helps you:
When you graph one variable, you are almost always graphing its distribution.
Goal: Show how observations are distributed across categories
Ordinal variables:
Nominal variables:
Goal: Understand the distribution of values in a single numerical variable.
These graphs are used to show:
Common graph types:
When you graph one numerical variable, you are visualizing its distribution.
binwidth or number of bins arguments to geom_histogram()lung dataset in the R survival package (North Central Cancer Treatment Group).| Is breeding dangerous for birds? | |||
| Malaria outcomes by experimental breeding treatment | |||
Treatment
|
Total | ||
|---|---|---|---|
| Control | Removed | ||
| Malaria | 7 | 15 | 22 |
| No malaria | 28 | 15 | 43 |
| Total | 35 | 30 | 65 |
| Source: Oppliger et al. (1996) | |||

BIOL 275 Biostatistics | Spring 2026