Categories
Research Methodologies
November 30, 2017
Learn how to add sparklines to a line chart with multiple series of data to improve readability and interpretation.
Adding sparklines to a line chart that has multiple series of data can vastly improve readability and interpretation.
Adding sparklines to a line chart that has multiple series of data can vastly improve readability and interpretation.
Line charts are one of the standard charts used in tracking market research. But, as soon as they have more than a couple of series of data, they tend to be awful. This is aptly illustrated by the example below. In The Psychology of Small Multiples, I explain the orthodox way to improve such a chart. In this article, I explore my preferred way of dealing with such data, which is to combine column charts with sparklines.
Why is the chart above hopeless? It fails to achieve the three core objectives of a good visualization of time-series data (e.g., tracking data):
While one solution is to use small multiples, this only really addresses the third of these issues.
Visualization guru Edward Tufte introduced the idea of using really small charts to illustrate trends and other patterns. He calls these small charts sparklines. You can see examples of sparklines here and how he uses them.
I find that sparklines are particularly useful to augment column charts. The chart below has been designed to resolve the three problems with line charts that I described above.
Each column shows the most recent wave of the tracker, with the number at the top of the chart, so that the viewer can quickly see the current state-of-play.
Arrows communicate which of the new results are significantly different from those of the previous wave. In this example, brand C has improved since the previous month. We can also augment the chart to show additional results. For example, it can show the results from the previous wave or the differences between the waves.
A sparkline is shown at the base of each column. The sparklines plot the data for whatever length of time is strategically relevant (6 months in this example). The sparklines have been color-coded with the red dashed line indicating long-term declines. Thus, we can see that brand C’s recent improvement is against a long-term trend of decline.
This visualization allows the viewer to easily answer the three important questions in tracking data: where are we today, movement since last time and long-term trend.
The visualization below uses the same basic idea, except in this case I have not shown statistical significance. Click here to see the interactive version using sparklines. Users can hover over the sparklines and see the historic values.
The basic idea in this post is a simple one. Rather than try and create one chart to serve multiple purposes, we can instead deconstruct the data into multiple separate charts: using easy-to-read column and bar charts to show key results and using sparklines to show trends.
Comments
Comments are moderated to ensure respect towards the author and to prevent spam or self-promotion. Your comment may be edited, rejected, or approved based on these criteria. By commenting, you accept these terms and take responsibility for your contributions.
Disclaimer
The views, opinions, data, and methodologies expressed above are those of the contributor(s) and do not necessarily reflect or represent the official policies, positions, or beliefs of Greenbook.
More from Tim Bock
Tim Bock on utilizing correspondence analysis.
Visualizations can summarize patterns that are commonly hidden in a simulator
Bad visuals stress the need for charts to be interpretable in seconds
Visualizing data can be made easier by utilizing small charts for comparison and analysis
Sign Up for
Updates
Get content that matters, written by top insights industry experts, delivered right to your inbox.
67k+ subscribers