- Question it answers
- What does the data actually look like?
- Data needed
- Measurements, ideally with their order and group
- Key output
- Shape, clusters, outliers, trends, and shifts
- Habit
- Plot first, then summarize, then test
- Assumptions
- None; graphs are how you check assumptions
- Excel
- Insert > Statistic Chart (Histogram, Box and Whisker); Scatter; Line
- Minitab
- Graph > Histogram, Boxplot, Scatterplot; Stat > Quality Tools > Run Chart
- Why it matters
- A picture catches what a summary hides
The Idea in Plain Language
A graph shows what a number cannot: the shape, the clusters, the outliers, the trend, the shifts. Look at the data before you test it. A mean and a standard deviation can be identical for a healthy process and a broken one, and only a picture will tell them apart.
| Graph | Shows | Best for |
|---|---|---|
| Histogram | Shape of the distribution of one variable | Spread, skew, multiple peaks, comparison with the specification |
| Box plot | Median, quartiles, and outliers | Comparing several groups side by side |
| Dot plot / individual value plot | Every data point | Small samples, where a box hides the detail |
| Scatter plot | Two variables against each other | Relationships, clusters, outliers |
| Run chart / time series plot | Values in time order | Trends, shifts, cycles |
| Pareto chart | Categories ranked by count | Finding the vital few |
| Normal probability plot | Fit to the normal distribution | Checking assumptions |
Worked Example 1: A Histogram Hides Nothing
Sixty shafts were measured. The summary looks harmless: mean 51.41 mm, median 51.65 mm, standard deviation 1.78 mm. A normality test gives p = 0.003.
- Choose the number of bins. Sturges’ rule suggests k = 1 + log2(60) = 7. Here, 1 mm bins from 48 to 55 are easy to read.
- Count the values in each bin, using the rule lower edge ≤ value < upper edge.
- Draw a bar for each bin; the height is the count.
| Bin (mm) | 48–49 | 49–50 | 50–51 | 51–52 | 52–53 | 53–54 | 54–55 |
|---|---|---|---|---|---|---|---|
| Count | 5 | 13 | 9 | 4 | 13 | 14 | 2 |
Worked Example 2: A Run Chart Finds the Shift
Thirty daily averages in time order. The median is 104.0. A histogram of these values would look like one wide hump and hide the change entirely.
- The longest run on one side of the median is 14 points, starting on day 17. A run of 8 or more on one side of the median is unlikely to happen by chance.
- The average of the first 14 days is 100.0, and the average of the last 16 days is 106.3.
Scatter Plots and Choosing a Graph
Twenty-four parts were cured at different temperatures. The scatter plot shows a clear upward trend (r = 0.96); a table of numbers would not.
| If you want to… | Use |
|---|---|
| See the shape of one variable | Histogram, or a dot plot for small samples |
| Compare several groups | Box plot or individual value plot by group |
| See change over time | Run chart; a control chart if you need limits |
| See a relationship between two measurements | Scatter plot; a matrix plot for many pairs |
| Rank causes of defects | Pareto chart |
| Check if data are normal | Probability plot |
| Compare with specifications | Histogram with spec limits; capability plot |
Run It in Excel and Minitab
ExcelStep by step
- Histogram: select the data, then . Right-click the axis, choose Format Axis, and set the bin width. (The older route is .)
- Box plot: , one series per group. Excel’s box uses its own quartile method, so values can differ slightly from Minitab.
- Scatter plot: select two columns, then . Add a trendline from the chart elements menu.
- Run chart: . Add a median line by adding a column of and plotting it as a second series.
- Label every axis with its units, and give each chart a title that states the finding.
MinitabStep by step
- (add a fitted distribution under Data View if useful). To compare groups, use the With Groups or panel options.
- and .
- and for many variables.
- or . The run chart reports tests for clustering, mixtures, trends, and oscillation.
- gives a histogram, a box plot, and the main statistics in one view.
- Right-click any graph and choose Editor to change bins, scales, and labels.
Descriptive Statistics: Length Variable N Mean StDev Minimum Q1 Median Q3 Maximum Length 60 51.41 1.78 48.20 49.90 51.65 53.00 54.40 Nothing in these numbers hints at a problem. The histogram shows two humps.
Reading and Reporting
- Look for shape: one hump or several? Symmetric or lopsided?
- Look for gaps and outliers, and find out what they are before removing them.
- Look over time: a trend, a shift, or a cycle means the process is not stable.
- Compare groups on the same scale, and label axes with units.
- Put the finding in the title: “Machine B runs 3 mm longer than Machine A,” not “Length by machine.”
Common Mistakes
| Mistake | Why it misleads | Better |
|---|---|---|
| Testing before plotting | A mixture or outlier can invalidate the test | Always plot first |
| Too few or too many histogram bins | Hides shape or shows noise | Try Sturges’ rule, then a few more and fewer |
| Box plots on very small samples | Quartiles of 5 points are unstable | Use an individual value plot |
| Plotting time-ordered data as a histogram only | Hides trends and shifts | Also plot a run chart |
| Truncated or different axes between charts | Exaggerates or hides differences | Use the same scale for comparisons |
| Pie charts and 3-D bars | Hard to compare accurately | Use a sorted bar chart or Pareto |
Try It Yourself
You have 40 measurements of a part from two suppliers, mixed in one column, and a histogram that looks flat-topped and wide.
- What would you do first?
- Which graph would you add to explain it?
Show the answer
Suspect a mixture of two populations. Split the data by supplier and compare them.
A box plot or individual value plot by supplier would show whether they are centered differently. Also plot the values in time order to check for shifts. Only then run any test, and analyze the suppliers separately if they differ.
Graphical Analysis: Frequently Asked Questions
Which graph should I use first?
For one variable, start with a histogram or a dot plot. For several groups, a box plot or individual value plot. For two variables, a scatter plot. For anything measured over time, a run chart.
How many bins should a histogram have?
Sturges’ rule, k = 1 + log2(n), is a start: 60 observations give about 7 bins. Try a few more and a few fewer. Too few hides the shape, too many shows noise.
What is the difference between a histogram and a bar chart?
A histogram shows the distribution of a continuous measurement, with touching bars for ranges. A bar chart compares separate categories, with gaps between the bars.
What do the parts of a box plot mean?
The box covers the middle 50% of the data (Q1 to Q3), the line is the median, the whiskers reach to the furthest values within 1.5 times the interquartile range, and the points beyond are outliers.
Why plot data in time order?
Most tests assume the process is stable. A run chart reveals trends, shifts, and cycles that a histogram or a summary will not show.
Sources and Further Reading
- NIST/SEMATECH, e-Handbook of Statistical Methods, Exploratory Data Analysis (itl.nist.gov/div898/handbook).
- John W. Tukey, Exploratory Data Analysis, Addison-Wesley.
- Herbert A. Sturges, “The Choice of a Class Interval,” Journal of the American Statistical Association, 1926.
- Minitab Support, “Graph menu” and “Run Chart” (support.minitab.com).
This content is educational. Worked examples use made-up data. Menu names for Minitab follow recent versions of Minitab Statistical Software and can differ slightly in older releases; Excel steps use Microsoft 365 and the Analysis ToolPak.