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.

A finite grid with probability die and proportion chart for finite mathematics
Inside this lesson 10 sections 5 questions 9 figures

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

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.

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.

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.

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.

Raw Data → Frequency Table → Bar ChartRaw Responses (n = 40)LibraryDormLibraryCaféLibraryDormCaféOtherLibraryDormLibraryLibraryCaféDormCaféLibraryDormLibraryOtherLibrary... (40 entries total)Frequency TableCategoryFreqRel %Library1640%Dorm1025%Café1025%Other410%Total40100%Bar Chart0481216LibraryDormCaféOther
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.

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

RelativeFrequencyofcategoryi=fi/nRelative 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

Fk=f1+f2+…+fk=Σi=1kfiFₖ = 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×log10(n)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

θi=(fi/n)×360°θᵢ = (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.

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.

Choosing the Right ChartWhat type of data?Categorical (Qualitative)Numerical (Quantitative)Bar ChartCompare countsacross categoriesPie ChartShow part-to-wholeproportionsPareto ChartRank by frequency+ cumulative lineHistogramDistribution shapeof continuous dataStem-and-LeafRetain individualdata valuesOgiveCumulative freqline graphRule: bars touch in a histogram (continuous scale) but are separated in a bar chart (discrete categories).
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.
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

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

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

Comparative strengths and limitations of common data summarization tools

✦

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.

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

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

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?
Show answer
In a histogram, the horizontal axis represents a continuous numerical scale where every value in the range is possible, and adjacent classes share a boundary (e.g., the upper boundary of one class is the lower boundary of the next). Touching bars visually encode this continuity — there are no gaps in the data's measurement scale. In a bar chart, the categories are qualitative and inherently discrete: there is no meaningful 'value' between 'Library' and 'Dorm,' so the gaps reinforce that each category is a separate entity. This distinction prevents the viewer from incorrectly inferring a continuous relationship among categorical labels.

Question 2: BASIC 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.
Show answer
Relative frequencies: Freshman = 62/200 = 0.310 (31.0%), Sophomore = 48/200 = 0.240 (24.0%), Junior = 44/200 = 0.220 (22.0%), Senior = 46/200 = 0.230 (23.0%). Central angles: Freshman = 0.310 × 360° = 111.6°, Sophomore = 0.240 × 360° = 86.4°, Junior = 0.220 × 360° = 79.2°, Senior = 0.230 × 360° = 82.8°. Check: 111.6° + 86.4° + 79.2° + 82.8° = 360° ✓. The relative frequencies sum to 1.000 and the angles sum to 360°, confirming correctness.

Question 3: INTERMEDIATE

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.
Show answer
Range = 18 − 2 = 16. Sturges' rule: k ≈ 1 + 3.322 × log₁₀(25) ≈ 1 + 3.322 × 1.398 ≈ 5.65, so k = 6 classes. Class width ≈ 16/6 ≈ 2.67, rounded up to 3. Starting at 2, the classes are [2, 5), [5, 8), [8, 11), [11, 14), [14, 17), [17, 20). Tallying: [2, 5): {2, 3, 3, 4} → f = 4, rf = 0.16, cf = 4. [5, 8): {5, 5, 5, 6, 6, 7, 7, 7, 7} → f = 9, rf = 0.36, cf = 13. [8, 11): {8, 8, 8, 9, 9, 10, 10} → f = 7, rf = 0.28, cf = 20. [11, 14): {11, 12} → f = 2, rf = 0.08, cf = 22. [14, 17): {14, 15} → f = 2, rf = 0.08, cf = 24. [17, 20): {18} → f = 1, rf = 0.04, cf = 25. The distribution is unimodal and right-skewed, with most students studying between 5 and 11 hours.

Question 4: APPLIED

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.
Show answer
Frequency table: Shipping Delays f = 54, rf = 36.0%; Defective Product f = 36, rf = 24.0%; Billing Errors f = 27, rf = 18.0%; Poor Service f = 21, rf = 14.0%; Other f = 12, rf = 8.0%. Total = 150, sum of rf = 100% ✓. A Pareto chart is the most effective choice here because it combines a bar chart (sorted by descending frequency) with a cumulative percentage line. This format immediately shows management that Shipping Delays and Defective Product together account for 60% of all complaints, making them the top priorities. A pie chart would show proportions but lacks the cumulative line that identifies the 80/20 pattern. A plain bar chart could work but would not convey the cumulative impact as compellingly.

Question 5: CRITICAL 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.
Show answer
With only 5 classes, each bin aggregates a wide range of values, which smooths out local variation and can merge distinct features (such as a right tail) into a single broad bar, creating the appearance of symmetry. With 20 classes, each bin is narrow enough to capture fine-grained variation, revealing the skew — but if taken to an extreme, very narrow bins can produce noisy, jagged histograms that overemphasize random fluctuation. A principled approach involves three strategies: (1) use a rule of thumb such as Sturges' rule (k ≈ 1 + 3.322 log₁₀ n ≈ 10 for n = 500) or the Freedman–Diaconis rule (width = 2 × IQR × n−1/3n^{−1/3}), which adapts to both sample size and data spread; (2) try several bin counts (e.g., 8, 12, 16) and check whether the qualitative shape (skewness, modality) is consistent across choices — features that persist are genuine; (3) supplement the histogram with a complementary summary such as the five-number summary or a kernel density estimate, which does not depend on bin boundaries. In the income case, the right skew is a real feature of the data, and Researcher A's choice of 5 classes was too coarse to detect it.

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.

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