Compared to what?
“Part 2: alignment
Effective visualisations communicate complex statistical and quantitative information facilitating insight, understanding, and decision making. But what is an effective graph? It is one that enables visual comparisons of data within the reviewers eye span, and adapts to the audience in a manner that best allows the key messages to be understood.
During the design of data visualisation it is helpful to keep in mind the purpose – the “Compared to what?” (Tufte 1990).
To facilitate effective comparisons there are a number of design options in the toolbox which can be used including layering, alignment, proximity and ordering. In this post we focus on how the aligment of a comparison is an imporant consideration.
Horizontal vs. vertical alignment
Alignment is another consideration for faciltiating comparisons. To be more specific, a vertical comparison is often easier to make judgments on than a horizontal comparison. To illustrate, consider three point estimates and associate uncertainty intervals.
When appropriate, a vertical or “downward” comparison between groups helps with assessments especially when comparing across groups. This comes with the caveat that if the comparison is sequential or temporal (i.e. a comparison of longiatidnal effects), doing so may not make sense to the reviewer; time is often encoded better by flowing left to right.
Vertical alignment of comparisons can also help with adding in contextual informaiton such as labels.
Overlaying
When comparing few factors (e.g. 2-3), consider overlaying in the same plot.
Changes: The two distributions are overlaid on the same graph and color added for further differentiation.
Distance
Keep things that are to be compared close together.
Changes: Study moved to x-axis and treatment group to the panel to allow comparison within treatment across study. Note: if the comparison of interest is A vs. B within study then the left plot would be more appropriate; keep in mind the “compared to what?”
Ordering
Ordering by values presented is helpful for comparing many categories.
Changes: Factors ordered by observed value, largest to smallest.
Difference – do the math
Show the difference where applicable (e.g. plot the mean difference rather than two means) to avoid the reviewer doing so.
Changes: The difference to placebo is computed and shown directly for each treatment group.
Another example with longitudinal data