Data and statistics · cheat sheet

Histogram

A bar chart of how many values fall into each range, showing the shape of the data: its centre, spread, skew and any second peak.

Common practice
5 steps
Used by Process Improvement Specialist

What it is

A histogram groups values into equal ranges and shows how many fall into each, as touching bars.

When to use it

When you want to see how values are distributed, compare them with a limit, or check the shape before choosing tools.

Why it works

It shows the shape of data at a glance: centre, spread, skew, outliers and two-peak patterns that point to mixed processes.

Do

  • Two peaks usually mean two processes mixed together: separate them.
  • Draw limits on it: it shows how much falls outside.

Don't

  • Too few or too many bins.
  • Unequal bin widths.
  • Drawing it for data that changes over time without also plotting it in time order.

Step by step

  1. Choose bins Equal widths, often 6 to 12.
  2. Count Values in each bin.
  3. Draw Touching bars.
  4. Add limits Targets or requirement limits.
  5. Read the shape
Also called: Frequency chart, distribution chartPrint the blank template ↗

Worked example

The situation. A factory's bolt lengths (mm) against limits of 49.5 to 50.5.

  1. Two peaks appear: one around 49.8, one around 50.3.

The result. Two peaks meant two machines. One was set slightly short; resetting it removed the second peak.

Histogram tally Print blank
Range (mm)Count
49.4 to 49.63
49.6 to 49.818
49.8 to 50.012
50.0 to 50.29
50.2 to 50.417
50.4 to 50.64

Filled in for: A factory's bolt lengths (mm) against limits of 49.5 to 50.5.

FromToTallyCount

Tally the values into equal ranges, then draw the bars.

How to do it with real data

The full calculation, as it happens in the story: the data, every step, how to read the result, and the spreadsheet functions to do it yourself.

Worked example with real data

Describing 60 waiting times

From Day 20: The baseline in numbers of the Process Improvement Specialist story

Astrid (Data Analyst) took 60 requests at random from weeks 12 to 20. Each value is the wait in calendar days, by the agreed definition.

Histogram of 60 waiting times, in 3-day groups0102030400 to 3: 03 to 6: 21216 to 9: 779 to 12: 8812 to 15: 9915 to 18: 6618 to 21: 5521 to 24: 1124 to 27: 1127 to 30: 220369121518212427307-day requirementmean 10.4

Step by step

  1. Meansum of all values ÷ 60: 626 ÷ 60= 10.4 days
  2. Medianthe middle of the sorted values (30th and 31st)= 10 days
  3. Modethe most common value (11 times)= 5 days
  4. Rangelargest − smallest: 28 − 3= 25 days
  5. Standard deviation√(Σ(x − mean)² ÷ (n − 1))= 6.5 days
  6. Quartiles25% and 75% of the way through the sorted values= 5 and 14.25 days
  7. Shapemean above median, long tail to the right= skewed right
RequestWait (days)
R0112
R0213
R0312
R0428
R0511
R0612
R0716
R087
R093
R104
R114
R1210
R134
R1417
R155
R168
R175
R185
R195
R2020
R213
R2215
R235
R249
R255
R265
R2715
R2815
R2914
R3013
R3118
R3216
R333
R345
R3510
R367
R376
R3810
R3910
R405
R415
R424
R435
R446
R457
R4611
R4711
R483
R4913
R5026
R5112
R5222
R5327
R5418
R554
R5614
R5720
R583
R596
R6019

How to read the result

A typical patient waits 10 days, but the spread is wide: the middle half wait between 5 and 14 days, and some wait four weeks. The long right tail pulls the mean above the median.

What it led to

Report the median and the share over 7 days as the main baseline figures, with the histogram. Use the standard deviation for the sample size and capability.

Do it in a spreadsheet

Mean=AVERAGE(B2:B61)
Median=MEDIAN(B2:B61)
Mode=MODE.SNGL(B2:B61)
Standard deviation=STDEV.S(B2:B61)
Quartiles=QUARTILE.INC(B2:B61,1) and =QUARTILE.INC(B2:B61,3)
HistogramExcel: Insert, Statistic chart, Histogram. Google Sheets: Insert, Chart, Histogram
Try it yourself: How many of the 60 patients waited more than 7 days, and what share is that?

33 of 60 = 55%. Spreadsheet: =COUNTIF(B2:B61,">7")/60.

In the roles

How a Process Improvement Specialist uses it

60 waits in 3-day groups: a peak at 3 to 6 days and a long tail to 28, most bars beyond the 7-day line.

Questions people ask

How many bins?

Roughly the square root of the number of values, between 6 and 15.

Related techniques

← All techniques and tools