Visualisation for communication with others
Lecturer in Health Data Science within the Centre for Health Informatics, Computing, and Statistics.
Background in statistics, operational research, and data science consultancy.
Co-author of Royal Statistical Society’s Best Practices for Data Visualisation guidance.
Data visualisation has two main purposes:
See nrennie.rbind.io/training-data-visualisation/slides1.html for exploratory data analysis discussion.
This session will include:
the role of visualisation in communication;
how to design more effective visualisations;
examples of good and bad charts!
Grab attention
Visualisations stand out. If a reader is short on time or uncertain about whether a document is of interest, an attention-grabbing visualisation may entice them to start reading.
Improve access to information
Textual descriptions can be lengthy and hard to read, and are frequently less precise than a visual depiction showing data points and axes.
Summarise content
Visual displays allow for summarising complex textual content, aiding the reader in memorising key points.
What are you trying to communicate?
Who are you trying to communicate it to?
Visualisations should be intuitive to the group of people you are communicating with.
These are different audiences. They might each require a different type of visualisation for the same data.
Some types of charts are less intuitive than others.
Good data visualisation isn’t just based on opinions…
On the plot on the left, how tall is the bar?
What type of chart?
How will you design that chart?
Even after you decide to make a bar chart, for example, there are still a lot of choices to be made about how that bar chart will look.
Alphabetical order:
Magnitude ordered:
Naturally ordered:
Longer labels are best on the y-axis, horizontally.
Avoid spaghetti plots!
Alternatives to spaghetti:
Some alternatives:
… but sometimes it’s not!
Keep it simple, but don’t over simplify.
03:00
Why use colours in data visualisation?
Colours should serve a purpose, e.g. discerning groups of data
Colours can highlight or emphasise parts of your data.
Not always the most effective for, e.g. communicating differences between variables.
Different types of colour palettes for different types of data.
Tip: In a series of charts, assign the same colour to the same variable in each chart.
Example: red and blue used to show hot and cold
Tip: never switch to the opposite meaning!
Example: red and green used to show bad and good
Tip: check the accessibility of colour palettes.
Check for colourblind friendly plots with colorblindr::cvd_grid(g)
.
Example: pink and blue used to show women and men
Tip: think about colour associations.
Just because you’re making a picture doesn’t mean you can’t also use words!
Title: A concise description of the main message you want the visualisation to show.
Subtitle and/or Caption: A more specific description of the data used, and how the visualisation should be interpreted. Attribution of the data source. Any caveats about the data or analysis.
Annotations: Highlight specific points, or time periods.
Alt text: An accessible text description of the visualisation, including chart type and the main message.
Font size: larger fonts are (usually) better
Font colour: ensure sufficient contrast
Font face: highlight text using bold font, avoid italics
Font family: choose a clear font with distinguishable features. Does a 1
look different from a lowercase l
, and from an uppercase I
?
03:00
In groups, discuss the following chart. What is good and bad about it?
Think about your audience
Actively design visualisations with that audience in mind
Not all popular chart types are the best choice
royal-statistical-society.github.io/datavisguide
Fundamentals of Data Visualization: clauswilke.com/dataviz
Civil Service Guidance: analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/
DataWrapper Blog: blog.datawrapper.de
Financial Times Visual Vocabulary: ft-interactive.github.io/visual-vocabulary