Step 1 of 5
Visual Mapping Principles
Choosing a chart is driven directly by your research goal and variable types.
A picture is worth a thousand words. Learn how to map data features to appropriate charts (bar, scatter, line, box plot) and avoid visual distortion.
Module complete. It is checked off in your course progress.
Step 1 of 5
Choosing a chart is driven directly by your research goal and variable types.
Goal
The goal of your visualisation is the most important first decision. Different goals require fundamentally different chart types, and choosing the wrong type can misrepresent your findings or make them harder to understand (Wilke, 2019).
Groups
The number of grouping dimensions determines whether a standard bar chart (one grouping variable) or a grouped/clustered bar chart (two grouping variables) is most appropriate. More than two grouping dimensions typically require small multiples or a heatmap (Wilke, 2019).
Variables
A histogram shows the full distribution of a single continuous variable. A box plot compares summary distributions across two or more groups. For small samples, overlaying individual data points is strongly recommended (Wilke, 2019).
Categories
Pie charts work only with a very small number of clearly distinct categories (2-4). With more categories, or when you also need to show totals, a stacked bar chart is more appropriate (Few, 2012; Wilke, 2019).
Comparison
Also known as: column chart (vertical orientation)
Displays the magnitude of a continuous variable (e.g. mean, count, frequency) for each category using proportional bars. Bars can be oriented vertically (column chart) or horizontally. Each bar represents one discrete category.
Data type
Categorical (nominal or ordinal)
Variables
1 categorical + 1 continuous
Time axis required
No
Do
Don't
Example in practice
A researcher compares mean research anxiety scores across four lab types (wet lab, dry lab, field, computational). A bar chart with error bars (showing SD or 95% CI) communicates group differences clearly.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | Tufte, E.R. (1983). The Visual Display of Quantitative Information. Graphics Press. | Few, S. (2012). Show Me the Numbers (2nd ed.). Analytics Press.
Comparison
Also known as: clustered bar chart
Extends the bar chart to compare a continuous variable across combinations of two categorical variables. Bars are grouped (clustered) side-by-side, with one grouping variable defining the clusters and another defining the bar color/fill.
Data type
Two categorical variables + 1 continuous
Variables
2 categorical + 1 continuous
Time axis required
No
Do
Don't
Example in practice
A researcher compares mean publication rates across three mentorship types (none, near-peer, faculty), separately for STEM and non-STEM students. A grouped bar chart with two bar colors shows both dimensions simultaneously.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | Few, S. (2012). Show Me the Numbers (2nd ed.). Analytics Press.
Trend over time
Also known as: line graph
Displays how a continuous variable changes over a continuous dimension, typically time. Points are connected by lines, emphasising continuity and trajectory. Particularly effective for showing trends, rates of change, and multiple time series simultaneously.
Data type
Continuous (time on x-axis)
Variables
Time + 1 or more continuous outcomes
Time axis required
Yes
Do
Don't
Example in practice
A researcher tracks student research self-efficacy scores monthly over a 6-month mentorship programme. A line chart clearly shows the trajectory of change, including any plateaus or dips.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | Tufte, E.R. (1983). The Visual Display of Quantitative Information. Graphics Press.
Relationship
Also known as: scatter graph, XY plot
Plots each observation as a point in a two-dimensional space defined by two continuous variables. Used to visualise the direction, strength, and form of a relationship (correlation) between variables, and to reveal clusters, outliers, and non-linear patterns.
Data type
Two continuous variables
Variables
2 continuous (optional 3rd as color/size)
Time axis required
No
Do
Don't
Example in practice
A researcher plots hours of mentorship received (x-axis) against research output score (y-axis) for 90 students, adding a fitted regression line and colouring points by discipline to examine whether the relationship holds across fields.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | UC Berkeley Library Data Visualization Guide (2024). guides.lib.berkeley.edu/data-visualization.
Distribution
Not the same as a bar chart — bars represent continuous bins, not categories
Displays the distribution of a single continuous variable by grouping values into contiguous bins and showing the frequency or density of observations in each bin. Reveals the shape (normal, skewed, bimodal), spread, and presence of outliers in the data.
Data type
One continuous variable
Variables
1 continuous
Time axis required
No
Do
Don't
Example in practice
Before running a t-test, a researcher plots a histogram of reaction time data from 60 participants to check visually whether the data appear approximately normally distributed and whether outliers are present.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | UNT Health Science Center Library. Types of Charts. libguides.unthsc.edu/data-visualization.
Distribution
Also known as: box-and-whisker plot
Summarises the distribution of a continuous variable using five statistics: minimum, first quartile (Q1), median, third quartile (Q3), and maximum, with outliers plotted individually. Particularly useful for comparing distributions across multiple groups simultaneously.
Data type
Continuous variable across groups
Variables
1 continuous + 1 categorical (groups)
Time axis required
No
Do
Don't
Example in practice
A researcher compares the distribution of exam scores across three teaching methods. Box plots for each group simultaneously display the median, spread, and outliers, making group differences and variability visible.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | UNT Health Science Center Library. Types of Charts. libguides.unthsc.edu.
Part-to-whole
Use only for part-to-whole relationships with very few categories
Displays the proportional contribution of each category to a whole by dividing a circle into wedges. The angle of each wedge is proportional to the category's share. Appropriate only when the focus is on part-to-whole relationships and there are very few (2-4) categories.
Data type
Categorical (nominal), few categories
Variables
1 categorical + proportions summing to 100%
Time axis required
No
Do
Don't
Example in practice
A researcher reports that 45% of study participants were from STEM, 30% from social sciences, and 25% from humanities. A pie chart (3 wedges, directly labelled) shows the overall composition of the sample.
Sources: Few, S. (2012). Show Me the Numbers (2nd ed.). Analytics Press. | Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | Tufte, E.R. (1983). The Visual Display of Quantitative Information.
Part-to-whole
Consider grouped bar or 100% stacked bar as alternatives
Extends the bar chart by dividing each bar into stacked segments, each representing a sub-category's contribution to the total. Shows both the total magnitude and the part-to-whole composition simultaneously. The 100% stacked variant shows proportional composition only.
Data type
Categorical variable with sub-categories + continuous
Variables
2 categorical + 1 continuous
Time axis required
Optional
Do
Don't
Example in practice
A researcher shows the composition of research output types (first-author papers, co-authored papers, conference abstracts) across three cohort years. A stacked bar anchors the first-author category at the base for easy comparison.
Sources: Wilke, C.O. (2019). Fundamentals of Data Visualization. O'Reilly Media. | Few, S. (2012). Show Me the Numbers (2nd ed.). Analytics Press.