---
title: "Choosing a classification method for choropleth maps"
description: "Choose between Equal Interval, Quantile, Natural Breaks, and Head/Tail Breaks when you colour points, lines, or polygons by a number."
seo:
  title: "Choose a classification method"
sidebar:
  label: "Pick a classification method"
---

`Equal Interval`, `Quantile`, `Natural Breaks (Jenks)`, and the head/tail method all give valid maps. They also give visibly different maps from the same data. Choose the method that fits your data and the question the map answers.

**[See it on an example map](https://mangomap-staging.com/examples-staging/maps/1gayxa7f/world-classification-lab)**

Open the World Classification Lab. `Population — Equal Interval` is on when the map opens. Turn it off and turn on `Population — Quantile`. Do the same with the other layers in `Population Classes`, and see how the same countries change colour.

The classification method works the same way on every geometry: countries coloured by population, roads coloured by length, or cities coloured by population.

> [!NOTE]
> Point layers label the method `Head/Tails`; line and polygon layers label it `Head/Tail Breaks`. The method is the same.

This page explains how to choose a method. The companion reference, [Classification methods for by-quantity styling](/docs/styling-layers/classification-methods-reference), defines each method.

## The same data, four maps

Take a polygon layer of 177 world countries with a `pop_est` population field. The smallest value is 140. The largest is about 1.4 billion. Half the countries have fewer than about 10 million people, and a few have hundreds of millions.

Colour the layer by `pop_est` with 5 classes. Here's what each method does to the same data:

- **`Equal Interval`** splits the range into 5 bands of about 280 million each. 174 countries fall in the first band. Two middle bands are empty. Only China, India, and the United States stand out. The map is true to the absolute numbers, but it hides every difference between typical countries.
- **`Quantile`** sorts the values and puts about the same number of them in each class, here about 35 countries. Every colour covers a similar share of the countries, so the map shows rank: the bottom fifth, the middle, the top fifth. Class boundaries fall at uneven numbers. The map gains comparison; the legend loses round figures.
- **`Natural Breaks (Jenks)`** finds gaps in the distribution and puts the class breaks there. The map shows the groups the data falls into naturally.
- **`Head/Tail Breaks`** makes classes that get wider from the lowest class to the highest. The lowest class is narrower than with `Equal Interval`, but on this data 162 countries still fall in it. The map gives a little more detail among the smaller values, and the largest countries still stand alone.

The same numbers give four maps. Each method answers a different question.

To see why the maps are different, compare where each method puts its class breaks and how many countries each class gets.

{/* diagram:classification-methods-compare */}
<svg class="dark:hidden" style="width: 100%; height: auto" viewBox="0 0 640 432" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="classification-methods-compare-inline-title classification-methods-compare-inline-desc">
  <title id="classification-methods-compare-inline-title">Same countries, four classification methods</title>
  <desc id="classification-methods-compare-inline-desc">The populations of 177 countries on a log scale, cut into 5 classes four ways. Countries per class, lowest class first: Equal Interval 174, 1, 0, 0, 2; Quantile 36, 35, 36, 35, 35; Natural Breaks (Jenks) 36, 35, 53, 51, 2; Head/Tail Breaks 162, 12, 1, 0, 2.</desc>
  <defs>
    <marker id="classification-methods-compare-inline-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#525252"/></marker>
    <marker id="classification-methods-compare-inline-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#c4360c"/></marker>
  </defs>
  <rect width="100%" height="100%" fill="#f5f5f5"/>
  <line x1="16" y1="36" x2="16" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="99.28" y1="36" x2="99.28" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="182.55" y1="36" x2="182.55" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="265.83" y1="36" x2="265.83" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="349.1" y1="36" x2="349.1" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="432.38" y1="36" x2="432.38" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="515.66" y1="36" x2="515.66" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="598.93" y1="36" x2="598.93" y2="372" stroke="rgba(23,23,23,0.12)" stroke-width="1"/>
  <line x1="16" y1="372" x2="624" y2="372" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="16" y="390" fill="#525252" font-size="12" font-family="inherit" text-anchor="start">100</text>
  <text x="182.55" y="390" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">10,000</text>
  <text x="349.1" y="390" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">1 million</text>
  <text x="515.66" y="390" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">100 million</text>
  <text x="598.93" y="390" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">1 billion</text>
  <text x="16" y="414" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="start">POPULATION, LOG SCALE: EACH GRIDLINE IS 10 TIMES THE ONE BEFORE</text>
  <text x="16" y="24" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="start">177 COUNTRIES, ONE DOT EACH</text>
  <circle cx="28.17" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="143.51" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="153.59" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="245" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="304.06" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="305.55" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="308.57" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="312.29" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="315" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="315.08" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="318.86" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="329.49" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="330.82" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="331.81" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="331.94" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="334.61" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="339.33" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="340.25" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="344.89" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="348.13" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="354.1" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="355.65" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="358.4" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="359.32" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="360.12" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="361.14" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="370.25" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="372.56" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="372.71" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="375.65" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="375.73" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="376.37" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="377.17" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="379.28" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="379.97" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="382.16" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="384.45" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="386.17" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="386.75" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="387.03" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="388.21" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="388.32" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="391.1" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="391.45" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="392.29" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="394.01" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="396.62" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="399.85" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="401.07" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="401.4" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="403.71" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="404.96" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="405.42" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="406.71" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="406.86" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="406.89" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="407.13" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="407.65" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="408" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="409.74" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="409.96" cy="34" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="410.45" cy="94" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="410.89" cy="28" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="412.79" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="413.55" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="414.39" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="416.54" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="416.56" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="417.05" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="418.31" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="418.73" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="419.19" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="419.35" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="419.71" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="420.35" cy="34" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="423.45" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="424.68" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="426.82" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="427.66" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="428.07" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="428.78" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="429.84" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="430.4" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="431.45" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="431.54" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="431.54" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="432.46" cy="34" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="432.75" cy="94" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="433.07" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="433.34" cy="28" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="433.4" cy="100" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="434.72" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="434.88" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="434.96" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="436.03" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="436.68" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="436.91" cy="22" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="437.38" cy="106" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="437.48" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="437.53" cy="16" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="438.04" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="438.37" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="440.82" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="441.23" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="446.18" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="449.26" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="450.04" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="450.46" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="450.72" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="451.72" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="452.27" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="452.36" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="453.36" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="454.66" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="454.88" cy="34" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="455.5" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="456.27" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="456.82" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="458.02" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="460.57" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="462.99" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="463.39" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="466.04" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="466.47" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="466.54" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="466.76" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="468.26" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="470.28" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="470.39" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="471.09" cy="40" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="472.55" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="472.61" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="474.25" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="474.39" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="475.02" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="476.19" cy="88" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="476.92" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="479.18" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="480.27" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="480.63" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="480.7" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="481.89" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="484.97" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="485.18" cy="82" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="486.18" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="486.28" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="486.73" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="488.41" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="490.83" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="491.8" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="492.4" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="493.4" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="495.96" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="496.3" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="497.36" cy="46" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="501.08" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="501.2" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="502.56" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="508.88" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="508.97" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="509.1" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="510.53" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="514.35" cy="76" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="515.8" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="518.48" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="519.78" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="524.09" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="524.46" cy="52" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="528.94" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="533.34" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="540.9" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="542.67" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="543.6" cy="70" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="551.66" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="558.64" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="610.22" cy="64" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <circle cx="611.04" cy="58" r="2.5" fill="#525252" fill-opacity="0.75"/>
  <rect x="540" y="36" width="84" height="14" fill="#f5f5f5"/>
  <text x="624" y="46" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="end">CHINA, INDIA</text>
  <text x="624" y="126" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="end">COUNTRIES IN EACH CLASS, LOWEST CLASS FIRST</text>
  <text x="16" y="154" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Equal Interval</text>
  <rect x="28.17" y="164" width="524.67" height="16" fill="#edd6d0"/>
  <rect x="552.83" y="164" width="25.07" height="16" fill="#e3b0a1"/>
  <rect x="577.9" y="164" width="14.66" height="16" fill="#d9866e"/>
  <rect x="592.57" y="164" width="10.4" height="16" fill="#ce5c3b"/>
  <rect x="602.97" y="164" width="8.07" height="16" fill="#c4360c"/>
  <rect x="28.17" y="164" width="582.87" height="16" fill="none" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <line x1="552.83" y1="160" x2="552.83" y2="184" stroke="#171717" stroke-width="1"/>
  <line x1="577.9" y1="160" x2="577.9" y2="184" stroke="#171717" stroke-width="1"/>
  <line x1="592.57" y1="160" x2="592.57" y2="184" stroke="#171717" stroke-width="1"/>
  <line x1="602.97" y1="160" x2="602.97" y2="184" stroke="#171717" stroke-width="1"/>
  <rect x="412" y="144" width="10" height="10" rx="2" fill="#edd6d0" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="426" y="154" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">174</text>
  <rect x="456" y="144" width="10" height="10" rx="2" fill="#e3b0a1" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="470" y="154" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">1</text>
  <rect x="500" y="144" width="10" height="10" rx="2" fill="#d9866e" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="514" y="154" fill="#525252" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="544" y="144" width="10" height="10" rx="2" fill="#ce5c3b" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="558" y="154" fill="#525252" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="588" y="144" width="10" height="10" rx="2" fill="#c4360c" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="602" y="154" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">2</text>
  <text x="16" y="214" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Quantile</text>
  <rect x="28.17" y="224" width="353.99" height="16" fill="#edd6d0"/>
  <rect x="382.16" y="224" width="36.56" height="16" fill="#e3b0a1"/>
  <rect x="418.73" y="224" width="31.31" height="16" fill="#d9866e"/>
  <rect x="450.04" y="224" width="31.85" height="16" fill="#ce5c3b"/>
  <rect x="481.89" y="224" width="129.15" height="16" fill="#c4360c"/>
  <rect x="28.17" y="224" width="582.87" height="16" fill="none" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <line x1="382.16" y1="220" x2="382.16" y2="244" stroke="#171717" stroke-width="1"/>
  <line x1="418.73" y1="220" x2="418.73" y2="244" stroke="#171717" stroke-width="1"/>
  <line x1="450.04" y1="220" x2="450.04" y2="244" stroke="#171717" stroke-width="1"/>
  <line x1="481.89" y1="220" x2="481.89" y2="244" stroke="#171717" stroke-width="1"/>
  <rect x="412" y="204" width="10" height="10" rx="2" fill="#edd6d0" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="426" y="214" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="456" y="204" width="10" height="10" rx="2" fill="#e3b0a1" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="470" y="214" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="500" y="204" width="10" height="10" rx="2" fill="#d9866e" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="514" y="214" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="544" y="204" width="10" height="10" rx="2" fill="#ce5c3b" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="558" y="214" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="588" y="204" width="10" height="10" rx="2" fill="#c4360c" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="602" y="214" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <text x="16" y="274" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Natural Breaks (Jenks)</text>
  <rect x="28.17" y="284" width="353.99" height="16" fill="#edd6d0"/>
  <rect x="382.16" y="284" width="36.56" height="16" fill="#e3b0a1"/>
  <rect x="418.73" y="284" width="47.74" height="16" fill="#d9866e"/>
  <rect x="466.47" y="284" width="92.17" height="16" fill="#ce5c3b"/>
  <rect x="558.64" y="284" width="52.4" height="16" fill="#c4360c"/>
  <rect x="28.17" y="284" width="582.87" height="16" fill="none" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <line x1="382.16" y1="280" x2="382.16" y2="304" stroke="#171717" stroke-width="1"/>
  <line x1="418.73" y1="280" x2="418.73" y2="304" stroke="#171717" stroke-width="1"/>
  <line x1="466.47" y1="280" x2="466.47" y2="304" stroke="#171717" stroke-width="1"/>
  <line x1="558.64" y1="280" x2="558.64" y2="304" stroke="#171717" stroke-width="1"/>
  <rect x="412" y="264" width="10" height="10" rx="2" fill="#edd6d0" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="426" y="274" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="456" y="264" width="10" height="10" rx="2" fill="#e3b0a1" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="470" y="274" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="500" y="264" width="10" height="10" rx="2" fill="#d9866e" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="514" y="274" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">53</text>
  <rect x="544" y="264" width="10" height="10" rx="2" fill="#ce5c3b" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="558" y="274" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">51</text>
  <rect x="588" y="264" width="10" height="10" rx="2" fill="#c4360c" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="602" y="274" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">2</text>
  <text x="16" y="334" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Head/Tail Breaks</text>
  <rect x="28.17" y="344" width="484.93" height="16" fill="#edd6d0"/>
  <rect x="513.1" y="344" width="39.73" height="16" fill="#e3b0a1"/>
  <rect x="552.83" y="344" width="25.07" height="16" fill="#d9866e"/>
  <rect x="577.9" y="344" width="18.47" height="16" fill="#ce5c3b"/>
  <rect x="596.38" y="344" width="14.66" height="16" fill="#c4360c"/>
  <rect x="28.17" y="344" width="582.87" height="16" fill="none" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <line x1="513.1" y1="340" x2="513.1" y2="364" stroke="#171717" stroke-width="1"/>
  <line x1="552.83" y1="340" x2="552.83" y2="364" stroke="#171717" stroke-width="1"/>
  <line x1="577.9" y1="340" x2="577.9" y2="364" stroke="#171717" stroke-width="1"/>
  <line x1="596.38" y1="340" x2="596.38" y2="364" stroke="#171717" stroke-width="1"/>
  <rect x="412" y="324" width="10" height="10" rx="2" fill="#edd6d0" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="426" y="334" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">162</text>
  <rect x="456" y="324" width="10" height="10" rx="2" fill="#e3b0a1" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="470" y="334" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">12</text>
  <rect x="500" y="324" width="10" height="10" rx="2" fill="#d9866e" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="514" y="334" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">1</text>
  <rect x="544" y="324" width="10" height="10" rx="2" fill="#ce5c3b" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="558" y="334" fill="#525252" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="588" y="324" width="10" height="10" rx="2" fill="#c4360c" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="602" y="334" fill="#171717" font-size="12" font-family="inherit" text-anchor="start">2</text>
</svg>
<svg class="hidden dark:block" style="width: 100%; height: auto" viewBox="0 0 640 432" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="classification-methods-compare-inline-dark-title classification-methods-compare-inline-dark-desc">
  <title id="classification-methods-compare-inline-dark-title">Same countries, four classification methods</title>
  <desc id="classification-methods-compare-inline-dark-desc">The populations of 177 countries on a log scale, cut into 5 classes four ways. Countries per class, lowest class first: Equal Interval 174, 1, 0, 0, 2; Quantile 36, 35, 36, 35, 35; Natural Breaks (Jenks) 36, 35, 53, 51, 2; Head/Tail Breaks 162, 12, 1, 0, 2.</desc>
  <defs>
    <marker id="classification-methods-compare-inline-dark-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#a3a3a3"/></marker>
    <marker id="classification-methods-compare-inline-dark-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#ff7a4d"/></marker>
  </defs>
  <rect width="100%" height="100%" fill="#141414"/>
  <line x1="16" y1="36" x2="16" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="99.28" y1="36" x2="99.28" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="182.55" y1="36" x2="182.55" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="265.83" y1="36" x2="265.83" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="349.1" y1="36" x2="349.1" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="432.38" y1="36" x2="432.38" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="515.66" y1="36" x2="515.66" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="598.93" y1="36" x2="598.93" y2="372" stroke="rgba(242,242,242,0.14)" stroke-width="1"/>
  <line x1="16" y1="372" x2="624" y2="372" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="16" y="390" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="start">100</text>
  <text x="182.55" y="390" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">10,000</text>
  <text x="349.1" y="390" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">1 million</text>
  <text x="515.66" y="390" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">100 million</text>
  <text x="598.93" y="390" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">1 billion</text>
  <text x="16" y="414" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="start">POPULATION, LOG SCALE: EACH GRIDLINE IS 10 TIMES THE ONE BEFORE</text>
  <text x="16" y="24" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="start">177 COUNTRIES, ONE DOT EACH</text>
  <circle cx="28.17" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="143.51" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="153.59" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="245" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="304.06" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="305.55" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="308.57" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="312.29" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="315" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="315.08" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="318.86" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="329.49" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="330.82" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="331.81" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="331.94" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="334.61" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="339.33" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="340.25" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="344.89" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="348.13" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="354.1" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="355.65" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="358.4" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="359.32" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="360.12" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="361.14" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="370.25" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="372.56" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="372.71" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="375.65" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="375.73" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="376.37" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="377.17" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="379.28" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="379.97" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="382.16" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="384.45" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="386.17" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="386.75" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="387.03" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="388.21" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="388.32" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="391.1" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="391.45" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="392.29" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="394.01" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="396.62" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="399.85" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="401.07" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="401.4" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="403.71" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="404.96" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="405.42" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="406.71" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="406.86" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="406.89" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="407.13" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="407.65" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="408" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="409.74" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="409.96" cy="34" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="410.45" cy="94" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="410.89" cy="28" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="412.79" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="413.55" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="414.39" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="416.54" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="416.56" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="417.05" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="418.31" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="418.73" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="419.19" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="419.35" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="419.71" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="420.35" cy="34" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="423.45" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="424.68" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="426.82" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="427.66" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="428.07" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="428.78" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="429.84" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="430.4" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="431.45" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="431.54" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="431.54" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="432.46" cy="34" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="432.75" cy="94" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="433.07" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="433.34" cy="28" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="433.4" cy="100" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="434.72" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="434.88" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="434.96" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="436.03" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="436.68" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="436.91" cy="22" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="437.38" cy="106" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="437.48" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="437.53" cy="16" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="438.04" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="438.37" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="440.82" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="441.23" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="446.18" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="449.26" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="450.04" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="450.46" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="450.72" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="451.72" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="452.27" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="452.36" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="453.36" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="454.66" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="454.88" cy="34" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="455.5" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="456.27" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="456.82" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="458.02" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="460.57" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="462.99" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="463.39" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="466.04" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="466.47" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="466.54" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="466.76" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="468.26" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="470.28" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="470.39" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="471.09" cy="40" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="472.55" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="472.61" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="474.25" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="474.39" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="475.02" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="476.19" cy="88" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="476.92" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="479.18" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="480.27" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="480.63" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="480.7" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="481.89" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="484.97" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="485.18" cy="82" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="486.18" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="486.28" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="486.73" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="488.41" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="490.83" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="491.8" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="492.4" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="493.4" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="495.96" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="496.3" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="497.36" cy="46" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="501.08" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="501.2" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="502.56" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="508.88" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="508.97" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="509.1" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="510.53" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="514.35" cy="76" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="515.8" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="518.48" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="519.78" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="524.09" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="524.46" cy="52" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="528.94" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="533.34" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="540.9" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="542.67" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="543.6" cy="70" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="551.66" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="558.64" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="610.22" cy="64" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <circle cx="611.04" cy="58" r="2.5" fill="#a3a3a3" fill-opacity="0.75"/>
  <rect x="540" y="36" width="84" height="14" fill="#141414"/>
  <text x="624" y="46" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="end">CHINA, INDIA</text>
  <text x="624" y="126" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="end">COUNTRIES IN EACH CLASS, LOWEST CLASS FIRST</text>
  <text x="16" y="154" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Equal Interval</text>
  <rect x="28.17" y="164" width="524.67" height="16" fill="#3a241d"/>
  <rect x="552.83" y="164" width="25.07" height="16" fill="#693929"/>
  <rect x="577.9" y="164" width="14.66" height="16" fill="#9c4f35"/>
  <rect x="592.57" y="164" width="10.4" height="16" fill="#d06642"/>
  <rect x="602.97" y="164" width="8.07" height="16" fill="#ff7a4d"/>
  <rect x="28.17" y="164" width="582.87" height="16" fill="none" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <line x1="552.83" y1="160" x2="552.83" y2="184" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="577.9" y1="160" x2="577.9" y2="184" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="592.57" y1="160" x2="592.57" y2="184" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="602.97" y1="160" x2="602.97" y2="184" stroke="#f2f2f2" stroke-width="1"/>
  <rect x="412" y="144" width="10" height="10" rx="2" fill="#3a241d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="426" y="154" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">174</text>
  <rect x="456" y="144" width="10" height="10" rx="2" fill="#693929" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="470" y="154" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">1</text>
  <rect x="500" y="144" width="10" height="10" rx="2" fill="#9c4f35" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="514" y="154" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="544" y="144" width="10" height="10" rx="2" fill="#d06642" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="558" y="154" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="588" y="144" width="10" height="10" rx="2" fill="#ff7a4d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="602" y="154" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">2</text>
  <text x="16" y="214" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Quantile</text>
  <rect x="28.17" y="224" width="353.99" height="16" fill="#3a241d"/>
  <rect x="382.16" y="224" width="36.56" height="16" fill="#693929"/>
  <rect x="418.73" y="224" width="31.31" height="16" fill="#9c4f35"/>
  <rect x="450.04" y="224" width="31.85" height="16" fill="#d06642"/>
  <rect x="481.89" y="224" width="129.15" height="16" fill="#ff7a4d"/>
  <rect x="28.17" y="224" width="582.87" height="16" fill="none" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <line x1="382.16" y1="220" x2="382.16" y2="244" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="418.73" y1="220" x2="418.73" y2="244" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="450.04" y1="220" x2="450.04" y2="244" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="481.89" y1="220" x2="481.89" y2="244" stroke="#f2f2f2" stroke-width="1"/>
  <rect x="412" y="204" width="10" height="10" rx="2" fill="#3a241d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="426" y="214" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="456" y="204" width="10" height="10" rx="2" fill="#693929" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="470" y="214" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="500" y="204" width="10" height="10" rx="2" fill="#9c4f35" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="514" y="214" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="544" y="204" width="10" height="10" rx="2" fill="#d06642" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="558" y="214" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="588" y="204" width="10" height="10" rx="2" fill="#ff7a4d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="602" y="214" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <text x="16" y="274" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Natural Breaks (Jenks)</text>
  <rect x="28.17" y="284" width="353.99" height="16" fill="#3a241d"/>
  <rect x="382.16" y="284" width="36.56" height="16" fill="#693929"/>
  <rect x="418.73" y="284" width="47.74" height="16" fill="#9c4f35"/>
  <rect x="466.47" y="284" width="92.17" height="16" fill="#d06642"/>
  <rect x="558.64" y="284" width="52.4" height="16" fill="#ff7a4d"/>
  <rect x="28.17" y="284" width="582.87" height="16" fill="none" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <line x1="382.16" y1="280" x2="382.16" y2="304" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="418.73" y1="280" x2="418.73" y2="304" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="466.47" y1="280" x2="466.47" y2="304" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="558.64" y1="280" x2="558.64" y2="304" stroke="#f2f2f2" stroke-width="1"/>
  <rect x="412" y="264" width="10" height="10" rx="2" fill="#3a241d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="426" y="274" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">36</text>
  <rect x="456" y="264" width="10" height="10" rx="2" fill="#693929" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="470" y="274" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">35</text>
  <rect x="500" y="264" width="10" height="10" rx="2" fill="#9c4f35" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="514" y="274" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">53</text>
  <rect x="544" y="264" width="10" height="10" rx="2" fill="#d06642" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="558" y="274" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">51</text>
  <rect x="588" y="264" width="10" height="10" rx="2" fill="#ff7a4d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="602" y="274" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">2</text>
  <text x="16" y="334" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="start">Head/Tail Breaks</text>
  <rect x="28.17" y="344" width="484.93" height="16" fill="#3a241d"/>
  <rect x="513.1" y="344" width="39.73" height="16" fill="#693929"/>
  <rect x="552.83" y="344" width="25.07" height="16" fill="#9c4f35"/>
  <rect x="577.9" y="344" width="18.47" height="16" fill="#d06642"/>
  <rect x="596.38" y="344" width="14.66" height="16" fill="#ff7a4d"/>
  <rect x="28.17" y="344" width="582.87" height="16" fill="none" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <line x1="513.1" y1="340" x2="513.1" y2="364" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="552.83" y1="340" x2="552.83" y2="364" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="577.9" y1="340" x2="577.9" y2="364" stroke="#f2f2f2" stroke-width="1"/>
  <line x1="596.38" y1="340" x2="596.38" y2="364" stroke="#f2f2f2" stroke-width="1"/>
  <rect x="412" y="324" width="10" height="10" rx="2" fill="#3a241d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="426" y="334" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">162</text>
  <rect x="456" y="324" width="10" height="10" rx="2" fill="#693929" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="470" y="334" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">12</text>
  <rect x="500" y="324" width="10" height="10" rx="2" fill="#9c4f35" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="514" y="334" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">1</text>
  <rect x="544" y="324" width="10" height="10" rx="2" fill="#d06642" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="558" y="334" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="start">0</text>
  <rect x="588" y="324" width="10" height="10" rx="2" fill="#ff7a4d" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="602" y="334" fill="#f2f2f2" font-size="12" font-family="inherit" text-anchor="start">2</text>
</svg>
{/* /diagram:classification-methods-compare */}

Each tab shows the same layer with one method, as a viewer sees it, with its legend.

**Equal Interval**

<img src="/_assets/styling-layers/concepts-choosing-classification-method--equal-interval.png" alt="World Classification Lab with Population — Equal Interval shown: almost every country is the palest yellow and only China and India are dark red; the legend lists the classes >=140, >279543112, >559086084, >838629056, and >1118172028" width="1600" height="960" />

**Quantile**

<img src="/_assets/styling-layers/concepts-choosing-classification-method--quantile.png" alt="World Classification Lab with Population — Quantile shown: countries spread across all five colours from pale yellow to dark red; the legend lists the classes >=140, >2494530, >6855713, >16296364, and >39309783" width="1600" height="960" />

**Natural Breaks**

<img src="/_assets/styling-layers/concepts-choosing-classification-method--natural-breaks.png" alt="World Classification Lab with Population — Natural Breaks shown: many countries are orange or red and China and India are dark red; the legend lists the classes >=140, >2494530, >6855713, >25666161, and >328239523" width="1600" height="960" />

**Head/Tail Breaks**

<img src="/_assets/styling-layers/concepts-choosing-classification-method--head-tails.png" alt="World Classification Lab with Population — Head/Tails shown: most countries are pale yellow, a few large countries such as Russia, Nigeria, and Indonesia are light orange, and China and India are dark red; the legend lists the classes >=140, >93181130.66666667, >279543112, >559086084, and >931810046.6666667" width="1600" height="960" />

## Match the method to your data's shape

- **Values spread evenly across the range.** `Equal Interval` works, because equal-width classes hold real slices of the data. Rainfall measured at weather stations (points) can look like this.
- **A few large values and many small ones.** `Equal Interval` puts most features in one colour. Country population (polygons) looks like this. So does road length (lines): half the Singapore road segments are under about 30 metres, and a few run for several kilometres. Pick `Quantile` (every class holds features) or `Natural Breaks (Jenks)` (class breaks at gaps) instead.
- **Clear groups in the data.** `Natural Breaks (Jenks)` is built for this. It finds the gaps and puts the class breaks there.
- **You want simple ranges with more detail at the low end.** `Head/Tail Breaks` keeps ranges tied to the number line, like `Equal Interval`, but makes the low classes narrower.
- **You don't know the shape yet.** Try `Natural Breaks (Jenks)` first. It is the default when you pick a numeric field, and it gives sensible class breaks for most real data.

## Match the method to your reader's question

The method also sets what the map shows. Four viewer questions, four method picks:

- **"How does this feature compare to the others?"** `Quantile`. Each class holds a similar number of values, so the colour shows rank.
- **"Where are the natural groupings?"** `Natural Breaks (Jenks)`. The class breaks fall at the gaps.
- **"How large is this value on an absolute scale?"** `Equal Interval`. Use it when the width of a class means something: rainfall in mm, temperature in degrees, elevation in metres.
- **"How large is this value, with more detail among the small ones?"** `Head/Tail Breaks`. The classes stay tied to the number line but start narrow.

To pick fast, answer these questions in order. The first yes gives your method, and `Natural Breaks (Jenks)` is the answer when none fits.

{/* diagram:classification-method-choice-flow */}
<svg class="dark:hidden" style="width: 100%; height: auto" viewBox="0 0 640 592" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="classification-method-choice-flow-inline-title classification-method-choice-flow-inline-desc">
  <title id="classification-method-choice-flow-inline-title">Which classification method to pick</title>
  <desc id="classification-method-choice-flow-inline-desc">Flowchart: pick Quantile when the colour should show rank, Equal Interval when the values spread evenly across the range, Head/Tail Breaks when you want more detail among the small values, and Natural Breaks (Jenks), the default, for clear groups or when you are not sure.</desc>
  <defs>
    <marker id="classification-method-choice-flow-inline-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#525252"/></marker>
    <marker id="classification-method-choice-flow-inline-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#c4360c"/></marker>
  </defs>
  <rect width="100%" height="100%" fill="#f5f5f5"/>
  <path d="M192 60 L192 86" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M316 136 L358 136" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M316 272 L358 272" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M316 408 L358 408" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M192 184 L192 222" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M192 320 L192 358" fill="none" stroke="#525252" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-arrow)"/>
  <path d="M192 456 L192 498" fill="none" stroke="#c4360c" stroke-width="1.4" marker-end="url(#classification-method-choice-flow-inline-arrow-accent)"/>
  <rect x="318" y="112" width="34" height="16" rx="2" fill="#f5f5f5"/><text x="335" y="124" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="318" y="248" width="34" height="16" rx="2" fill="#f5f5f5"/><text x="335" y="260" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="318" y="384" width="34" height="16" rx="2" fill="#f5f5f5"/><text x="335" y="396" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="200" y="195" width="26" height="16" rx="2" fill="#f5f5f5"/><text x="213" y="207" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO</text>
  <rect x="200" y="331" width="26" height="16" rx="2" fill="#f5f5f5"/><text x="213" y="343" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO</text>
  <rect x="200" y="467" width="110" height="16" rx="2" fill="#f5f5f5"/><text x="255" y="479" fill="#525252" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO OR NOT SURE</text>
  <rect x="62" y="16" width="260" height="44" rx="20" fill="rgba(23,23,23,0.04)" stroke="rgba(23,23,23,0.32)" stroke-width="1"/>
  <text x="192" y="43" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Colour by a number in classes</text>
  <polygon points="192,88 316,136 192,184 68,136" fill="#ffffff" stroke="#171717" stroke-width="1"/><text x="192" y="131" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Should the colour</text><text x="192" y="149" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">show rank?</text>
  <polygon points="192,224 316,272 192,320 68,272" fill="#ffffff" stroke="#171717" stroke-width="1"/><text x="192" y="267" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Values spread evenly</text><text x="192" y="285" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">across the range?</text>
  <polygon points="192,360 316,408 192,456 68,408" fill="#ffffff" stroke="#171717" stroke-width="1"/><text x="192" y="403" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">More detail among</text><text x="192" y="421" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">the small values?</text>
  <rect x="360" y="100" width="264" height="72" rx="20" fill="rgba(23,23,23,0.04)" stroke="rgba(23,23,23,0.32)" stroke-width="1"/><text x="492" y="122" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Quantile</text><text x="492" y="142" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">about the same number of values</text><text x="492" y="158" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">in every class</text>
  <rect x="360" y="236" width="264" height="72" rx="20" fill="rgba(23,23,23,0.04)" stroke="rgba(23,23,23,0.32)" stroke-width="1"/><text x="492" y="258" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Equal Interval</text><text x="492" y="278" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">classes of equal width, such as</text><text x="492" y="294" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">rainfall in mm or height in metres</text>
  <rect x="360" y="372" width="264" height="72" rx="20" fill="rgba(23,23,23,0.04)" stroke="rgba(23,23,23,0.32)" stroke-width="1"/><text x="492" y="394" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Head/Tail Breaks</text><text x="492" y="414" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">classes widen from low to high</text><text x="492" y="430" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">(Head/Tails on point layers)</text>
  <rect x="62" y="500" width="260" height="76" rx="20" fill="rgba(196,54,12,0.08)" stroke="#c4360c" stroke-width="1.4"/>
  <text x="192" y="526" fill="#171717" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Natural Breaks (Jenks)</text>
  <text x="192" y="546" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">the default: class breaks at the gaps,</text>
  <text x="192" y="562" fill="#525252" font-size="12" font-family="inherit" text-anchor="middle">for clear groups or when unsure</text>
</svg>
<svg class="hidden dark:block" style="width: 100%; height: auto" viewBox="0 0 640 592" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="classification-method-choice-flow-inline-dark-title classification-method-choice-flow-inline-dark-desc">
  <title id="classification-method-choice-flow-inline-dark-title">Which classification method to pick</title>
  <desc id="classification-method-choice-flow-inline-dark-desc">Flowchart: pick Quantile when the colour should show rank, Equal Interval when the values spread evenly across the range, Head/Tail Breaks when you want more detail among the small values, and Natural Breaks (Jenks), the default, for clear groups or when you are not sure.</desc>
  <defs>
    <marker id="classification-method-choice-flow-inline-dark-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#a3a3a3"/></marker>
    <marker id="classification-method-choice-flow-inline-dark-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#ff7a4d"/></marker>
  </defs>
  <rect width="100%" height="100%" fill="#141414"/>
  <path d="M192 60 L192 86" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M316 136 L358 136" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M316 272 L358 272" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M316 408 L358 408" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M192 184 L192 222" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M192 320 L192 358" fill="none" stroke="#a3a3a3" stroke-width="1.2" marker-end="url(#classification-method-choice-flow-inline-dark-arrow)"/>
  <path d="M192 456 L192 498" fill="none" stroke="#ff7a4d" stroke-width="1.4" marker-end="url(#classification-method-choice-flow-inline-dark-arrow-accent)"/>
  <rect x="318" y="112" width="34" height="16" rx="2" fill="#141414"/><text x="335" y="124" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="318" y="248" width="34" height="16" rx="2" fill="#141414"/><text x="335" y="260" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="318" y="384" width="34" height="16" rx="2" fill="#141414"/><text x="335" y="396" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">YES</text>
  <rect x="200" y="195" width="26" height="16" rx="2" fill="#141414"/><text x="213" y="207" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO</text>
  <rect x="200" y="331" width="26" height="16" rx="2" fill="#141414"/><text x="213" y="343" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO</text>
  <rect x="200" y="467" width="110" height="16" rx="2" fill="#141414"/><text x="255" y="479" fill="#a3a3a3" font-size="10" font-weight="600" letter-spacing="0.1em" font-family="inherit" text-anchor="middle">NO OR NOT SURE</text>
  <rect x="62" y="16" width="260" height="44" rx="20" fill="rgba(242,242,242,0.05)" stroke="rgba(242,242,242,0.34)" stroke-width="1"/>
  <text x="192" y="43" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Colour by a number in classes</text>
  <polygon points="192,88 316,136 192,184 68,136" fill="#1c1c1c" stroke="#f2f2f2" stroke-width="1"/><text x="192" y="131" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Should the colour</text><text x="192" y="149" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">show rank?</text>
  <polygon points="192,224 316,272 192,320 68,272" fill="#1c1c1c" stroke="#f2f2f2" stroke-width="1"/><text x="192" y="267" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Values spread evenly</text><text x="192" y="285" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">across the range?</text>
  <polygon points="192,360 316,408 192,456 68,408" fill="#1c1c1c" stroke="#f2f2f2" stroke-width="1"/><text x="192" y="403" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">More detail among</text><text x="192" y="421" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">the small values?</text>
  <rect x="360" y="100" width="264" height="72" rx="20" fill="rgba(242,242,242,0.05)" stroke="rgba(242,242,242,0.34)" stroke-width="1"/><text x="492" y="122" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Quantile</text><text x="492" y="142" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">about the same number of values</text><text x="492" y="158" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">in every class</text>
  <rect x="360" y="236" width="264" height="72" rx="20" fill="rgba(242,242,242,0.05)" stroke="rgba(242,242,242,0.34)" stroke-width="1"/><text x="492" y="258" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Equal Interval</text><text x="492" y="278" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">classes of equal width, such as</text><text x="492" y="294" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">rainfall in mm or height in metres</text>
  <rect x="360" y="372" width="264" height="72" rx="20" fill="rgba(242,242,242,0.05)" stroke="rgba(242,242,242,0.34)" stroke-width="1"/><text x="492" y="394" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Head/Tail Breaks</text><text x="492" y="414" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">classes widen from low to high</text><text x="492" y="430" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">(Head/Tails on point layers)</text>
  <rect x="62" y="500" width="260" height="76" rx="20" fill="rgba(255,122,77,0.10)" stroke="#ff7a4d" stroke-width="1.4"/>
  <text x="192" y="526" fill="#f2f2f2" font-size="14" font-weight="600" font-family="inherit" text-anchor="middle">Natural Breaks (Jenks)</text>
  <text x="192" y="546" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">the default: class breaks at the gaps,</text>
  <text x="192" y="562" fill="#a3a3a3" font-size="12" font-family="inherit" text-anchor="middle">for clear groups or when unsure</text>
</svg>
{/* /diagram:classification-method-choice-flow */}

## When in doubt, try two and compare

The quickest way to choose is to compare the results. Style the layer with `Natural Breaks (Jenks)`, save, and look. Style it with `Quantile`, save, and look. The right one is usually clear once you see both. The wrong one puts most features in one colour or makes the legend hard to read.

Switching the classification method rebuilds the class breaks from scratch. Any changes you made to a class break's colour, range, or label are lost. Compare methods first, then customise.

## What this isn't

This page doesn't replace [Classification methods for by-quantity styling](/docs/styling-layers/classification-methods-reference). That page defines each method and how it calculates the class breaks. This page helps you choose between them.

It also doesn't cover [How to customise category and class break symbology](/docs/styling-layers/customise-category-and-class-break-symbology). Once you've picked a method, you can round awkward boundaries (`17.342` → `20`), rename labels, or change colours. That's a separate task.

## Related

- [Classification methods for by-quantity styling](/docs/styling-layers/classification-methods-reference): the reference for each method.
- [How to style features by quantity](/docs/styling-layers/style-by-quantity): the how-to that uses the method.
- [How to customise category and class break symbology](/docs/styling-layers/customise-category-and-class-break-symbology): what to do once you've picked.
- [My classification produced empty buckets or weird breaks](/docs/styling-layers/troubleshoot-classification-empty-buckets)
- [How layer styling works in MangoMap](/docs/styling-layers/concepts-layer-styling): the wider styling model.
- [Planning a thematic map in MangoMap](/docs/styling-layers/concepts-planning-a-thematic-map): the earlier choice of what kind of thematic map fits your data.
