FINITE MATHEMATICS • PROBABILITY AND STATISTICS

Summarizing Data — Summarize data with tables and charts

Transform raw observations into structured tables and informative charts that reveal patterns, distributions, and trends.

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
John Graunt published Natural and Political Observations Made upon the Bills of Mortality, creating one of the first systematic frequency tables to summarize London's death records and uncover demographic patterns.
1786
Playfair's Graphical Inventions
William Playfair introduced the bar chart and pie chart in his Commercial and Political Atlas, providing the first widely published graphical summaries of economic data.
1891
Pearson's Histogram
Karl Pearson coined the term 'histogram' and formalized its use in depicting continuous frequency distributions, linking graphical display to rigorous probability theory.
1977
Tukey's EDA Movement
John Tukey published Exploratory Data Analysis, advocating stem-and-leaf plots, box plots, and other visual tools as essential first steps before formal inference.

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.

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.

1

Qualitative vs. Quantitative Data

Qualitative (categorical) data describe labels or categories (e.g., major, color, yes/no), while quantitative (numerical) data represent measurable quantities (e.g., GPA, weight). The data type dictates which summarization tools are appropriate.
2

Frequency & Relative Frequency

The frequency of a category or class is its count. The relative frequency expresses that count as a proportion (or percentage) of the total, enabling meaningful comparisons across data sets of different sizes.
3

Distribution Shape

Charts reveal the shape of a distribution — whether it is symmetric, skewed left, skewed right, uniform, or bimodal. Shape influences which summary statistics (mean vs. median) are most informative.
4

Chart Selection Principle

Different chart types serve different purposes: bar charts for categorical data, histograms for continuous distributions, and pie charts for part-to-whole relationships. Choosing incorrectly can distort or obscure the data's story.
KEY TAKEAWAY
Think of data summarization as writing an abstract for a research paper: you cannot include every detail, but you must faithfully convey the central message, the important variations, and any surprising exceptions. A well-constructed frequency table or chart serves as that abstract — it lets the reader quickly grasp what would otherwise require scanning hundreds or thousands of raw values.

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.

The pipeline from raw categorical responses (left) through a frequency table (center) to a bar chart (right). Notice how the bar chart makes it immediately obvious that Library is the dominant category, a pattern that would require careful counting in the raw list.

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.

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
Relative Frequency of category i = fᵢ / n
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
Fₖ = f₁ + f₂ + … + fₖ = Σᵢ₌₁ᵏ fᵢ
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)
k ≈ 1 + 3.322 × log₁₀(n)
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
θᵢ = (fᵢ / n) × 360°
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.

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.

A decision flowchart for selecting the appropriate chart type. Start by identifying whether your data is categorical or numerical, then choose the chart that answers your specific analytical question.
Summary of major chart types used in data summarization
Chart TypeData TypeKey FeatureWhen to Use
Bar ChartCategoricalBars separated; height = frequencyComparing counts or proportions across distinct groups
Pie ChartCategoricalSlices sum to 360°; area = proportionShowing how a whole is divided (≤ 5–6 categories recommended)
HistogramQuantitative (continuous)Bars touch; x-axis is a continuous scaleDisplaying distribution shape, center, and spread of measured data
Stem-and-LeafQuantitativeRetains original values; looks like a sideways histogramSmall-to-moderate data sets where preserving exact values matters
OgiveQuantitativeLine graph of cumulative frequenciesEstimating percentiles or the proportion below a given value

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).

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 RangeThe minimum score is 52 and the maximum is 98. The range is 98 − 52 = 46.
Range = 46
2
Step 2 — Choose the Number of ClassesUsing 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 WidthClass 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 FrequenciesCount 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 FrequenciesRelative 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 HistogramDrawing 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

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.

Comparative strengths and limitations of common data summarization tools
ToolStrengthsLimitations
Frequency TableProvides exact counts and proportions; basis for further computation; works for both categorical and quantitative dataNot immediately visual; grouped tables lose individual data values; class boundary choices affect impression
Bar ChartIntuitive comparison of category magnitudes; easy to construct and interpret; effective for any audienceCannot display distributions of continuous data; y-axis truncation can mislead; poor for many categories
Pie ChartClear part-to-whole representation; visually striking; sums to 100% by constructionHard to compare similar-sized slices; useless with more than 5–6 categories; 3D versions distort areas
HistogramReveals distribution shape, skewness, modality; standard tool for continuous data; connects to probability densityAppearance depends on bin width; individual values are lost; not ideal for comparing two distributions side by side
Stem-and-Leaf PlotRetains exact data values; shows shape like a histogram; quick to construct by handImpractical for large data sets (n > 100); limited to 2–3 digit values; less familiar to general audiences
KEY TAKEAWAY
Choosing a summarization tool is like choosing a map projection: every projection distorts some aspect of the globe (area, shape, distance), and the best choice depends on the navigator's purpose. Similarly, every table or chart sacrifices some information (exact values, visual impact, or distributional detail) while amplifying what matters most for the question at hand. Always consider your goal — comparison, distribution, composition — before selecting a format.

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.

How descriptive summarization tools connect to inferential statistics
Descriptive Tool (This Lesson)Advanced CounterpartConnection
Relative frequency tableProbability 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 categoriesContingency tables and χ² testsObserved frequencies compared to expected frequencies for independence tests

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.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the bars in a histogram touch each other but the bars in a bar chart are separated by gaps. What does this visual difference communicate about the underlying data?
PROBLEM 2BASIC CALCULATION
A survey of 200 students records their class year: Freshman (62), Sophomore (48), Junior (44), Senior (46). Compute the relative frequency and central angle (for a pie chart) for each category.
PROBLEM 3INTERMEDIATE
The following data represent the number of hours 25 students spent studying for a final exam: 2, 3, 3, 4, 5, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 10, 10, 11, 12, 14, 15, 18. Using Sturges' rule, determine an appropriate number of classes, compute the class width, and build a complete grouped frequency table with class boundaries, frequencies, relative frequencies, and cumulative frequencies.
PROBLEM 4APPLIED
A small business tracks the reason for each of 150 customer complaints over a quarter: Shipping Delays (54), Defective Product (36), Billing Errors (27), Poor Customer Service (21), Other (12). Construct a frequency table with relative frequencies and describe which chart type (bar chart, pie chart, or Pareto chart) would be most effective for a presentation to the company's management team aimed at prioritizing improvement efforts. Justify your choice.
PROBLEM 5CRITICAL THINKING
Two researchers each construct a histogram from the same data set of 500 household incomes. Researcher A uses 5 classes and produces a histogram that appears nearly symmetric. Researcher B uses 20 classes and produces a histogram that appears clearly right-skewed with a long tail. Both histograms are technically correct. Explain how the choice of class width can alter the perceived shape of a distribution, and propose a principled strategy for selecting class widths that avoids misleading conclusions.

Lesson 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.

Varsity Tutors • Finite Mathematics • Summarizing Data — Summarize data with tables and charts