Skip to main content
ExplainerData VisualizationChoropleth Maps· 7 min read· in Data & Analysis

How Truncating Choropleth Maps at the 95th Percentile Prevents Outlier Distortion

Applying a strict linear interpolation to skewed spatial datasets often destroys visual variance. By anchoring the maximum color value to a statistical threshold rather than the absolute peak, cartographers can expose local trends without losing the broader context.

By Ishani Patel

Share this story

Listen

In short

  • Strict linear color scales stretch to accommodate extreme outliers, compressing the vast majority of geographic regions into a single baseline color.
  • Anchoring the maximum color shade to the 95th percentile redistributes the gradient across the normal data range, revealing hidden local variance.
  • While truncation clarifies median patterns, it obscures the absolute magnitude of the peak, requiring explicit legend labeling and map annotations.

A single extreme data point in a geographic dataset can instantly render a map unreadable for every other region. When a spatial visualization relies on a strict linear color scale from the lowest to the highest value, one extreme outlier forces the remaining 99 percent of the map into a single, indistinguishable baseline color.[3]

Choropleth maps rely on color gradients to communicate spatial data across defined regions, such as counties, states, or census tracts. They are the standard visual tool for showing rates, percentages, and densities.

However, their reliance on color interpolation makes them highly vulnerable to skewed distributions. Consider a national map of median property values where one specific county features prices twenty times higher than the national average.

If the mapping software applies a linear interpolation from the absolute minimum to the absolute maximum, that single wealthy county receives the darkest shade of blue. Because the color scale is stretched all the way to that extreme peak, every other county is compressed into the bottom five percent of the gradient.[3]

To the human eye, the rest of the country appears as a uniform, pale wash, completely erasing the actual regional variations that the map was built to show. "The colors we choose have a massive impact on our map: How it is perceived, how well our statement is communicated and how honest we present the data," writes Lisa Charlotte Muth in Datawrapper's cartography guidelines.[3]

A linear scale (left) masks regional variance, while a truncated scale (right) redistributes the color gradient to reveal median patterns.

The Mechanics of Truncation

Truncating the color scale at the 95th or 99th percentile offers a mathematical rescue for skewed geographic data. Instead of anchoring the top of the color gradient to the absolute maximum value, the cartographer anchors it to a specific percentile threshold.[1]

Any geographic region with a value above that threshold is simply assigned the maximum color. If the 95th percentile for property values is $800,000, then a county averaging $900,000 and the extreme outlier averaging $4 million both receive the exact same dark blue fill.[3]

By capping the color scale below the extreme outlier, the mapping software is freed to distribute the rest of the color gradient across the normal range of the data. The visual contrast is restored to the 95 percent of regions that actually represent the median experience.

This technique directly addresses the reality of right-skewed distributions, which are ubiquitous in demographic and economic data. Wealth, population density, and industrial output rarely follow a neat bell curve; they cluster heavily at the bottom and trail off into a long, thin tail of extreme highs.

Before choosing an interpolation method, analysts must examine the underlying distribution. "Make decisions with the best interests of your readers in mind, to represent your data in honest and insightful ways," advise the authors of Hands-On Data Visualization, recommending a histogram check before mapping.

Right-skewed distributions feature a long tail of extreme highs that can distort linear color interpolations.

Real-World Applications

Public health agencies frequently rely on scale truncation to map disease incidence and mortality rates. When mapping rare conditions, a single localized outbreak can produce a rate exponentially higher than the national baseline, skewing the entire visual narrative.[2]

The Centers for Disease Control and Prevention explicitly utilizes this technique for mortality mapping. "For causes with extremely high outliers, the highest category on the plot is truncated at the 99th percentile of the distribution," the CDC notes in its guidelines for spatial data visualization.[2]

This ensures that the reader can still see the shape of the distribution across the vast majority of health service areas. Without truncation, a localized spike in a single county would visually flatten the subtle but vital regional health trends occurring across neighboring states.[2]

Economic mapping faces identical challenges. When visualizing corporate revenue by municipality, a headquarters city might report figures in the billions, while surrounding towns report in the millions.[3]

A linear scale makes the headquarters black and the rest of the state white. Truncating the scale at the 95th percentile allows the map to show the gradient of economic activity in the suburbs and rural areas.[3]

Truncating the scale allows rural and suburban economic gradients to remain visible alongside major urban centers.

Alternative Classification Schemes

Truncation is not the only method for handling outliers, though it is often the most transparent. Cartographers frequently employ algorithmic classification schemes, such as Natural Breaks or Quantiles, to group data into discrete color bins.[1]

"The choice of the classification scheme should take into consideration the statistical distribution of the attribute values as well as the goal of our map," note the authors of Geographic Data Science with Python. Each method carries its own mathematical assumptions.[1]

Quantile classification divides the data evenly, placing the exact same number of geographic regions into each color bin. While this guarantees high visual contrast across the map, it can artificially force regions with nearly identical values into different color categories simply to meet the quota.[1]

Natural Breaks, or the Jenks optimization method, seeks to minimize variance within classes and maximize variance between them. It is highly effective at isolating outliers into their own distinct bins, but because the breaks are unique to each dataset, it makes comparing multiple maps nearly impossible.

Truncation combined with a linear or equal-interval scale offers a middle ground. It preserves the proportional relationships between values in the main body of the data, avoiding the artificial boundaries of Quantiles, while cleanly handling the disruptive extremes.[3]

Algorithmic classification schemes offer alternative methods for grouping skewed data into discrete color bins.

The Trade-Offs of Capping

The primary limitation of percentile truncation is the deliberate loss of peak magnitude visibility. By assigning the exact same color to the 96th percentile and the 99.9th percentile, the map visually equates values that might be millions of dollars or thousands of people apart.[3]

For a data analyst, this is a calculated sacrifice. The goal of a choropleth map is to show regional patterns and spatial autocorrelation, not to serve as a lookup table for exact figures.

If absolute precision is required, a map is the wrong visualization tool entirely. To mitigate this loss of extreme detail, cartographers must rely on secondary labeling.

The map legend should clearly indicate the truncation, often using a "greater than" symbol for the top color bin, signaling to the reader that the scale has been capped. Additionally, the extreme outliers themselves can be directly annotated on the map canvas.[3]

Software platforms have increasingly automated these outlier management tools. Modern geographic information systems, including ArcGIS and QGIS, allow users to set custom upper and lower bounds on symbology histograms, instantly recalculating the color ramp for the remaining data.[1]

Illustration: Transparent labeling is required to inform readers that the top color tier represents a capped threshold rather than an absolute maximum.

Preserving Analytical Integrity

The decision to truncate must always be documented in the visualization's methodology. Hiding an outlier without disclosing the scale adjustment crosses the line from data simplification into data manipulation, violating core principles of analytical integrity.[3]

When applied transparently, however, truncation is a vital instrument for clarity. It acknowledges that human visual perception is limited, and that a color gradient can only communicate a finite amount of variance before it becomes indistinguishable noise.

By cutting off the extreme tail of a skewed distribution, analysts ensure that the map actually serves its intended audience. The 95th percentile truncation rescues the geographic narrative, allowing the true regional variations to emerge from the shadow of a single dominant data point.[3]

In an era where automated dashboards instantly generate maps from raw data feeds, understanding these cartographic mechanics is crucial. Default software settings often default to strict linear scales, blindly mapping outliers and producing useless visualizations until a human intervenes.

In an era where automated dashboards instantly generate maps from raw data feeds, understanding these cartographic mechanics is crucial.

Ultimately, the 95th percentile truncation is a reminder that effective data visualization requires editorial judgment. The cartographer must actively decide which part of the data distribution holds the most valuable insights, and calibrate the visual tools to bring that specific story into focus.[3]

Terms to know

Choropleth Map
A thematic map where geographic areas are shaded in proportion to the statistical variable being displayed.
Linear Interpolation
A method of mapping data to colors where the gradient is distributed evenly from the absolute minimum to the absolute maximum value.
Outlier
A data point that differs significantly from other observations, often skewing statistical averages and visual scales.
Percentile
A statistical measure indicating the value below which a given percentage of observations in a group falls.
Spatial Autocorrelation
The degree to which a set of spatial features and their associated data values tend to be clustered together in space.

Questions readers ask

What is a choropleth map?

A thematic map where geographic regions, such as counties or states, are colored or shaded in proportion to a specific statistical variable.

Why do outliers ruin linear color scales?

Because the scale stretches to accommodate the extreme peak, compressing the vast majority of normal values into the lowest, indistinguishable color bin.

Does truncation delete the outlier from the data?

No. The outlier remains in the dataset and receives the maximum color shade; only the visual color mapping is capped, not the underlying statistics.

How do you communicate the true value of a truncated outlier?

Cartographers use secondary annotations, such as text labels pointing directly to the outlier region, and add a "greater than" symbol to the top legend bin.

Different angles

Data Visualization Practitioners

Focus on visual scannability and revealing median geographic patterns.

Practitioners argue that the primary purpose of a map is to communicate spatial relationships, not to serve as a precise data table. They heavily favor truncation because it rescues the visual variance of the 95 percent of regions that represent the median experience, accepting the loss of peak magnitude visibility as a necessary trade-off for overall clarity.

Statistical Purists

Focus on raw data integrity and the proportional representation of extremes.

Statisticians often warn that truncating a color scale visually equates a value just above the threshold with an extreme outlier that might be magnitudes larger. They caution that without aggressive and clear labeling, truncation can mislead readers by artificially flattening the true scale of inequality or concentration present in the raw data.

Geospatial Analysts

Focus on algorithmic classification schemes tailored to local variance.

GIS professionals frequently bypass linear truncation entirely in favor of algorithmic classification schemes like Natural Breaks (Jenks) or Fisher-Jenks. They argue that these mathematical models are better suited to isolating outliers into their own distinct bins while dynamically optimizing the color breaks for the specific clustering behavior of the dataset.

Data Visualization Practitioners 40%Statistical Purists 30%Geospatial Analysts 30%
Data Visualization Practitioners
Focus on visual scannability and revealing median geographic patterns.
Statistical Purists
Focus on raw data integrity and the proportional representation of extremes.
Geospatial Analysts
Focus on algorithmic classification schemes tailored to local variance.

Perspectives this story doesn't cover

  • Automated Dashboard Developers
  • Accessibility Advocates

Sources

Source coverage

3 outlets

3 viewpoints surfaced

Data Visualization Practitioners 40%Statistical Purists 30%Geospatial Analysts 30%
  1. [1]Geographic Data Science with PythonGeospatial Analysts

    Choropleth Mapping

    Read on Geographic Data Science with Python →
  2. [2]Centers for Disease Control and Prevention

    Design and Interpretation of Choropleth Maps

    Read on Centers for Disease Control and Prevention →
  3. [3]Factlen Editorial Team

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team →
Listen

Comments

Stay informed

Every angle. Every day.

Get Data & Analysis stories with full source coverage and perspective breakdowns, free every day.