How to Make a Bump Chart in R
Visualize rankings over time instead of absolute values to focus on order instead of the magnitude of change.
The bump chart is a line chart variant that focuses specifically on ranks over time instead of absolute values.
The advantage of the bump chart is that it’s unaffected by large differences in magnitudes, whereas a standard line chart might find itself with a bunch of lines clustered at the bottom, because of a high-value category. The bump chart instead spaces ranks evenly.
This tutorial starts with a standard time series dataset, and takes you through the steps to make the necessary adjustments.
To access this full tutorial, you must be a member. (If you are already a member, log in here.)
You will get unlimited access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Files and data are included so that you can more easily apply what you learn in your own work.
Learn to make great charts that are beautiful and useful.
Members also receive a weekly newsletter, The Process. Keep up-to-date on visualization tools, the rules, and the guidelines and how they all work together in practice.
See samples of everything you gain access to:
More Tutorials See All →
How I Made That: Interactive Heatmap
Add interaction so that you can show different segments of the data and allow comparisons.
How to Visualize and Compare Distributions in R
Single data points from a large dataset can make it more relatable, but those individual numbers don’t mean much without something to compare to. That’s where distributions come in.
How to Make Alluvial Diagrams
Here’s how to do it in R from start to finish, plus editing in illustration software. Make design choices and trade-offs for more readable charts.