Sparklines Are Not Scaled Together


August 03, 2023 - by

Sparklines Are Not Scaled Together

Problem: The vertical scale on the sparklines seems to be wrong. This chart is showing that Chicago and Miami have similar January temperatures.

Average high temperatures by month for Miami, Chicago, Juneau, and Tucson. By default, each sparkline is scaled independently, making it look like Miami, Chicago, and Juneau are all the same temperature in January. In reality, they are not.
Figure 1248. Monthly temperatures in Miami are not like Chicago.

Strategy: by default, each sparkline has its own vertical scale. This works out great when the sparklines are comparing how different items trend together over time.


Four sparklines show the 10 year trend of Unemployment, GDP, New Construction, and Bank Credit.
Figure 1249. Each sparkline has its own vertical scale.

In Professor Tufte’s first examples, he was comparing unlike variables that had a relationship. This is why Microsoft chose to keep the axes separate for each line.

When you are comparing items that all have the same scale, you have to force the minimum and maximum axis to be the same.



At the very least, use the Axis dropdown and choose Same For All Sparklines for both the minimum and maximum value.

On the Sparkline ribbon, open the Axis drop-down and choose Same for All Sparklines in two places: Vertical Axis Minimum and Vertical Axis Maximum.
Figure 1250. Make all of the axes the same.

If you are going to be labeling sparklines or shading sparklines as described later, you will want to use a Custom Value for both the min and max value options.


This article is an excerpt from Power Excel With MrExcel

Title photo by Taru Huhkio on Unsplash