SECTION 1
Historical Context & Motivation
The challenge of summarizing large collections of observations is as old as organized society itself. Ancient civilizations maintained census records and trade inventories, yet the sheer volume of raw numbers made it nearly impossible to extract meaningful insights without some form of condensation. The modern practice of data summarization — organizing data into frequency tables, bar charts, histograms, and pie charts — emerged gradually through centuries of innovation in both tabular record-keeping and graphical representation. Understanding this history reveals why certain conventions exist and why thoughtful summarization remains a cornerstone of statistical reasoning.
1662 • Graunt's Life Table
1786 • Playfair's Graphical Inventions
1891 • Pearson's Histogram
1977 • Tukey's EDA Movement
Each of these milestones addressed a fundamental question: how can we condense a potentially enormous data set into a compact representation that preserves the essential structure — the center, spread, shape, and notable features — while remaining interpretable at a glance? This question motivates the techniques developed throughout this lesson, from simple frequency tables through the rich visual vocabulary of modern charts.
SECTION 2
Core Principles of Data Summarization
Before constructing any table or chart, it is important to recognize the foundational ideas that govern effective data summarization. The goal is not merely to shrink a data set but to organize it so that the underlying distribution — the pattern of how values occur — becomes transparent. The following principles guide every decision, from choosing class widths in a histogram to selecting chart types for a presentation.
Qualitative vs. Quantitative Data
Frequency & Relative Frequency
Distribution Shape
Chart Selection Principle
KEY TAKEAWAY
SECTION 3
Visual Explanation — From Raw Data to Frequency Table to Chart
The diagram below illustrates the complete summarization pipeline for a categorical data set. On the left, raw survey responses about students' preferred study locations are listed. In the center, those responses have been tallied into a frequency table showing each category's count and relative frequency. On the right, the frequencies are rendered as a bar chart, making the dominant category and comparative magnitudes immediately visible.
This three-stage process — raw data, tabulation, and visualization — is the conceptual backbone of every summarization technique we will study. The table provides exact counts for computation, while the chart provides an immediate perceptual comparison of magnitudes. In practice, both representations are complementary: the table supports precise calculations of proportions and totals, whereas the chart communicates the overall pattern to a broader audience.
SECTION 4
Mathematical Framework
Although tables and charts are often treated as informal tools, each rests on precise definitions that connect to probability and further statistical analysis. Mastering these definitions ensures that the summaries you construct are mathematically sound and correctly interpreted.
RELATIVE FREQUENCY
where fᵢ is the frequency (count) of category i, and n is the total number of observations. The sum of all relative frequencies equals 1 (or 100%).
CUMULATIVE FREQUENCY
The cumulative frequency Fₖ counts all observations in class k and all preceding classes. When divided by n, it yields the cumulative relative frequency, which is useful for identifying percentiles and constructing ogives.
NUMBER OF CLASSES (STURGES' RULE)
When constructing a histogram for quantitative data, Sturges' rule provides a starting guideline for the number of classes k, based on sample size n. The class width is then approximately (max − min) / k, rounded to a convenient number.
CENTRAL ANGLE FOR PIE CHARTS
Each slice of a pie chart subtends a central angle θᵢ proportional to the relative frequency of category i. The sum of all central angles equals 360°.
These formulas are interconnected. Relative frequencies serve as empirical estimates of probabilities, cumulative frequencies underpin distribution functions, and class-width decisions directly affect the visual impression a histogram conveys. As a general rule, use too few classes and you obscure structure; use too many and you introduce noise.
SECTION 5
Detailed Breakdown — Chart Types and Their Uses
Selecting the right chart type is critical: a histogram applied to categorical data or a pie chart used with continuous data will mislead the reader. The following diagram and table classify the major chart types by the type of data they are designed to display and the analytical question they answer.
| Chart Type | Data Type | Key Feature | When to Use |
|---|---|---|---|
| Bar Chart | Categorical | Bars separated; height = frequency | Comparing counts or proportions across distinct groups |
| Pie Chart | Categorical | Slices sum to 360°; area = proportion | Showing how a whole is divided (≤ 5–6 categories recommended) |
| Histogram | Quantitative (continuous) | Bars touch; x-axis is a continuous scale | Displaying distribution shape, center, and spread of measured data |
| Stem-and-Leaf | Quantitative | Retains original values; looks like a sideways histogram | Small-to-moderate data sets where preserving exact values matters |
| Ogive | Quantitative | Line graph of cumulative frequencies | Estimating percentiles or the proportion below a given value |
Summary of major chart types used in data summarization
A common mistake is to use a histogram for categorical data or a bar chart for continuous data. The distinction matters because the touching bars of a histogram encode the fact that the underlying variable has no gaps between adjacent intervals — it is measured on a continuous scale. In a bar chart, the gaps between bars visually reinforce that the categories are discrete and unordered (or ordered only by convention, as with letter grades).
SECTION 6
Worked Example — Building a Grouped Frequency Table and Histogram
Suppose you have collected the exam scores of 30 students in a finite mathematics course. The raw data are as follows: 52, 58, 61, 63, 65, 67, 68, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 90, 91, 93, 95, 98. We will construct a grouped frequency table with class boundaries, frequencies, relative frequencies, and cumulative frequencies, and then describe the resulting histogram.
Grouped Frequency Table and Histogram for Exam Scores
- 1
Step 1 — Determine the Range
The minimum score is 52 and the maximum is 98. The range is 98 − 52 = 46.Range = 46 - 2
Step 2 — Choose the Number of Classes
Using Sturges' rule: k ≈ 1 + 3.322 × log₁₀(30) ≈ 1 + 3.322 × 1.477 ≈ 1 + 4.91 ≈ 5.91. We round to k = 6 classes.k = 6 classes - 3
Step 3 — Determine Class Width
Class width ≈ Range / k = 46 / 6 ≈ 7.67. We round up to a convenient width of 8. Starting at the lower boundary 50 (slightly below the minimum for clean boundaries), the classes become: 50–57, 58–65, 66–73, 74–81, 82–89, 90–97. However, since our maximum is 98, we extend the last class to 90–98 (or equivalently use 50–58, etc., with appropriate boundary rules). For simplicity, we use classes [50, 58), [58, 66), [66, 74), [74, 82), [82, 90), [90, 98].Class width = 8 - 4
Step 4 — Tally Frequencies
Count observations in each class. [50, 58): {52} → f = 1. [58, 66): {58, 61, 63, 65} → f = 4. [66, 74): {67, 68, 70, 71, 72, 73} → f = 6. [74, 82): {74, 75, 76, 77, 78, 79, 80, 81} → f = 8. [82, 90): {82, 83, 84, 85, 87, 88} → f = 6. [90, 98]: {90, 91, 93, 95, 98} → f = 5. Total: 1 + 4 + 6 + 8 + 6 + 5 = 30 ✓.Frequencies: 1, 4, 6, 8, 6, 5 (sum = 30) - 5
Step 5 — Compute Relative and Cumulative Frequencies
Relative frequency = fᵢ / 30. Cumulative frequency adds each class to the running total. For example, the third class has relative frequency 6/30 = 0.200 (20%) and cumulative frequency 1 + 4 + 6 = 11. The complete table: [50,58): rf = 3.3%, cf = 1; [58,66): rf = 13.3%, cf = 5; [66,74): rf = 20.0%, cf = 11; [74,82): rf = 26.7%, cf = 19; [82,90): rf = 20.0%, cf = 25; [90,98]: rf = 16.7%, cf = 30.All relative frequencies sum to 100%; final cumulative frequency = 30 - 6
Step 6 — Interpret the Histogram
Drawing bars of height fᵢ for each class with bars touching reveals a distribution that is roughly unimodal with the peak in the [74, 82) interval, slightly left-skewed (the left tail stretches further due to the low score of 52). This tells us that most students scored in the 70s and 80s, with a few trailing into the 50s and 60s.Slightly left-skewed, unimodal distribution centered in the mid-70s to low-80s
SECTION 7
Strengths and Limitations of Common Summarization Tools
No single table or chart is universally optimal. Each tool embodies a trade-off between detail and clarity, and its effectiveness depends on the data type, the audience, and the analytical goal. The table below contrasts the primary strengths and limitations of the most common summarization tools covered in this lesson.
| Tool | Strengths | Limitations |
|---|---|---|
| Frequency Table | Provides exact counts and proportions; basis for further computation; works for both categorical and quantitative data | Not immediately visual; grouped tables lose individual data values; class boundary choices affect impression |
| Bar Chart | Intuitive comparison of category magnitudes; easy to construct and interpret; effective for any audience | Cannot display distributions of continuous data; y-axis truncation can mislead; poor for many categories |
| Pie Chart | Clear part-to-whole representation; visually striking; sums to 100% by construction | Hard to compare similar-sized slices; useless with more than 5–6 categories; 3D versions distort areas |
| Histogram | Reveals distribution shape, skewness, modality; standard tool for continuous data; connects to probability density | Appearance depends on bin width; individual values are lost; not ideal for comparing two distributions side by side |
| Stem-and-Leaf Plot | Retains exact data values; shows shape like a histogram; quick to construct by hand | Impractical for large data sets (n > 100); limited to 2–3 digit values; less familiar to general audiences |
Comparative strengths and limitations of common data summarization tools
KEY TAKEAWAY
SECTION 8
Connection to Advanced Statistical Analysis
The tables and charts developed in this lesson are not merely presentation devices — they are the empirical foundation upon which more advanced statistical concepts are built. The relative frequency distribution obtained from a large sample approximates the theoretical probability distribution of the underlying random variable, and the histogram converges to the probability density function (pdf) as the sample size grows and the class width shrinks. Similarly, the cumulative relative frequency (ogive) converges to the cumulative distribution function (CDF), which is central to hypothesis testing and confidence intervals.
| Descriptive Tool (This Lesson) | Advanced Counterpart | Connection |
|---|---|---|
| Relative frequency table | Probability mass function (PMF) | Relative frequencies estimate P(X = x) for discrete variables |
| Histogram (density scale) | Probability density function (PDF) | Bar areas approximate probabilities for continuous variables |
| Ogive (cumulative relative frequency) | Cumulative distribution function (CDF) | Empirical CDF Fₙ(x) → F(x) by the Glivenko–Cantelli theorem |
| Bar chart / pie chart of categories | Contingency tables and χ² tests | Observed frequencies compared to expected frequencies for independence tests |
How descriptive summarization tools connect to inferential statistics
This forward-looking perspective underscores why getting the descriptive stage right matters so much. If your frequency table has miscounted observations, or your histogram uses class widths that obscure the true shape of the distribution, any subsequent inference — from estimating population parameters to testing hypotheses — will rest on a flawed foundation. The skills you develop in this lesson therefore carry directly into every subsequent chapter of probability and statistics.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Data summarization transforms unwieldy raw observations into structured representations that reveal patterns. Frequency tables organize data into categories or classes, recording counts (frequencies), proportions (relative frequencies), and running totals (cumulative frequencies). For quantitative data, selecting the number of classes via guidelines like Sturges' rule ensures the grouped table faithfully represents the distribution's shape.
Charts translate these tables into visual form. Bar charts compare categorical frequencies with separated bars. Pie charts display part-to-whole relationships using central angles proportional to relative frequencies (θᵢ = (fᵢ / n) × 360°). Histograms reveal the shape of continuous distributions with touching bars, while ogives and stem-and-leaf plots offer complementary perspectives. Selecting the right tool depends on whether the data is categorical or numerical, how many categories exist, and what analytical question you are asking — comparison, distribution, or composition.