what is a broken axis

Understanding Broken Axes: What Is It and How to Identify It

By Robert Thomas
AD

Ever wondered why your graph isn't cooperating, with data points refusing to align neatly along axes? You might be dealing with a common frustration in data visualization - a broken axis. But what exactly does that mean, and how can you fix it?

A broken axis, also known as a jagged or uneven axis, occurs when the scale of an axis is interrupted or fragmented, causing data points to be misaligned or scattered. This can happen due to a variety of reasons, from erroneous data to poorly chosen axis limits. Understanding what causes a broken axis can help you troubleshoot and resolve the issue.

Causes of a Broken Axis

Broken axes can be caused by several factors, which we'll delve into below.

AD
a bar graph shows the number of flights in london, paris, and brussels from may to june
a bar graph shows the number of flights in london, paris, and brussels from may to june
The X & Y axis. Which axis is which?
The X & Y axis. Which axis is which?
BREAK OF STRUCTURE || FOREX MARKET
BREAK OF STRUCTURE || FOREX MARKET

Data issues, such as missing or extraneous values, can lead to broken axes. For instance, a single outlier can force the axis scale to expand to accommodate it, creating an uneven appearance.

Data Outliers

Outliers, or data points that differ significantly from others, can cause axes to break. They can skew the scale, making other data points seem crammed or scattered.

What Is Broken Heart Syndrome And Tips To Prevent
What Is Broken Heart Syndrome And Tips To Prevent
four different views of the legs and feet of a horse with yellow lines on them
four different views of the legs and feet of a horse with yellow lines on them
The broken window theory ❤️
The broken window theory ❤️

For example, if you're plotting average temperatures of cities worldwide, a single city with an exceptionally high temperature will force the scale to expand, creating a broken axis.

Inappropriate Axis Limits

Improperly chosen axis limits can also result in a broken axis. If the minimum and maximum values aren't specified appropriately, the software will automatically choose them, which could lead to a broken axis if there are data gaps or outliers.

AD

Suppose you're plotting a timeline with years from 2000 to 2022. If the data for the years 2010 to 2015 is missing, the software might choose the remaining data points' limits (2000 and 2022), resulting in a broken axis for the years 2010 to 2015.

Broken Neck (Hangman's Fracture) - Morphopedics
Broken Neck (Hangman's Fracture) - Morphopedics
Break of Structure
Break of Structure
Axis of Symmetry Explained | Easy Quadratic Parabola Algebra Guide
Axis of Symmetry Explained | Easy Quadratic Parabola Algebra Guide
a diagram showing the intersection of two intersecting lines with words in red and white on them
a diagram showing the intersection of two intersecting lines with words in red and white on them
Axis Tilt is Critical for Life
Axis Tilt is Critical for Life
If you’ve been told you have "adrenal fatigue" because you’re constantly exhausted, wired-but-tired, and dragging yourself through the day… we need to clear something up. 🛑 What FDN IS NOT: Telling you your adrenal glands are simply "broken" or "tired" and handing you a generic bottle of adrenal adaptogens. What FDN IS: Looking at the entire HPA Axis (Hypothalamus-Pituitary-Adrenal Axis) to see how your brain and body are communicating under chronic stress. Your adrenal cortex produces cru... Adrenal Glands, Adrenal Fatigue, Neuroscience, Gut Health, Brain
If you’ve been told you have "adrenal fatigue" because you’re constantly exhausted, wired-but-tired, and dragging yourself through the day… we need to clear something up. 🛑 What FDN IS NOT: Telling you your adrenal glands are simply "broken" or "tired" and handing you a generic bottle of adrenal adaptogens. What FDN IS: Looking at the entire HPA Axis (Hypothalamus-Pituitary-Adrenal Axis) to see how your brain and body are communicating under chronic stress. Your adrenal cortex produces cru... Adrenal Glands, Adrenal Fatigue, Neuroscience, Gut Health, Brain

Fixing a Broken Axis

Now that we understand what causes a broken axis, let's explore how to fix this common plot issue.

Addressing a broken axis typically involves tackling the underlying data issue or adjusting the axis scale.

AD

Handling Data Outliers

If outliers are causing your axis to break, consider removing or adjusting them. You could cap the maximum value or use a logarithmic scale if the range of values is extremely large.

the diagram shows an axs - y point on top of a sphere with two lines going through it, vintage line drawing or engraving from 1897
the diagram shows an axs - y point on top of a sphere with two lines going through it, vintage line drawing or engraving from 1897

In the earlier temperature example, you could cap the temperature at a reasonable maximum (e.g., 50°C), ensuring the axis scale doesn't expand unnecessarily.

Adjusting Axis Limits

You can also fix a broken axis by manually setting the axis limits. This ensures that the axis scale isn't forced to expand or compress due to missing data or outliers.

AD

Continuing with the timeline example, you can manually set the axis limits from 2000 to 2022, ignoring the missing data points from 2010 to 2015.

The key to fixing a broken axis is understanding its cause and tackling the underlying issue. Whether it's addressing outliers or adjusting axis limits, a bit of troubleshooting and fine-tuning should resolve this common plot problem.

AD