Data Visualization Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Data Visualization.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Data visualization is the use of graphs, charts, and other visual representations to communicate patterns, trends, and relationships in data.

A picture is worth a thousand numbers. Graphs reveal patterns we'd miss in tables.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Data visualization shows data as a graph so patterns jump out that a table would hide.

Common stuck point: The procedure for data visualization is the easy part; the trap is using the wrong chart type for the data. Asking "Am I turning data into a picture so a pattern is easy to see?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Am I turning data into a picture so a pattern is easy to see?

Worked Examples

Example 1

easy
For the data types listed, choose the most appropriate visualization: (a) one quantitative variable distribution, (b) relationship between two quantitative variables, (c) comparing a quantitative variable across categories.

Answer

(a) Histogram/boxplot. (b) Scatter plot. (c) Side-by-side boxplots.

First step

1
(a) Distribution of one quantitative variable: histogram or box plot โ€” shows shape, center, spread, outliers

Full solution

  1. 2
    (b) Relationship between two quantitative variables: scatter plot โ€” shows direction, form, strength of association
  2. 3
    (c) Comparing quantitative across categories: side-by-side box plots or bar chart of means โ€” enables visual comparison
Choosing the right visualization is as important as the analysis itself. The type of variables (quantitative vs. categorical) and the number of variables determine the appropriate chart type. Using the wrong chart obscures or misrepresents patterns.

Example 2

medium
A pie chart shows 20 slices representing 20 countries' market shares. Explain why this is a poor choice and suggest a better visualization.

Example 3

easy
You have two columns: 'hours studied' and 'test score' for 30 students. Which chart shows their relationship?

Example 4

medium
You want to compare salary distributions in 5 departments. Which chart compares distributions side-by-side?

Example 5

medium
A line chart shows daily website visits with a sharp dip on weekends. What weekly pattern does the chart reveal, and what kind of pattern is it called?

Example 6

hard
A histogram has bin widths of 55 for ages 00-5050. There are 1010 bins and bin heights 2,5,9,14,10,8,6,3,2,12, 5, 9, 14, 10, 8, 6, 3, 2, 1. How many people total?

Example 7

challenge
A chart claims revenue grew 300%300\% last year. The bar for last year is 3ร—3\times this year's bar. Then you notice the yy-axis starts at $1{,}000{,}000 and last year reads $1{,}030{,}000 vs this year $1{,}010{,}000. What is the true growth rate, and what's the deception?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
List three features that every well-made graph should have, and explain why each is important.

Example 2

hard
A time series of monthly sales shows both a long-term trend and seasonal fluctuations. Design the ideal visualization strategy, including which chart type to use and how to highlight both patterns.

Example 3

easy
To show how a single numeric variable is distributed, which chart is most appropriate: pie chart or histogram?

Example 4

easy
To show parts of a single whole (percentages summing to 100%) with few categories, which chart fits?

Example 5

easy
To show a trend over time, which chart is best: line chart or pie chart?

Example 6

easy
To compare a numeric value across several distinct categories, which chart is standard?

Example 7

easy
A graph has no axis labels or units. What basic problem does this create?

Example 8

easy
To show the relationship between two numeric variables, which chart is best?

Example 9

easy
A bar chart's y-axis starts at 80 instead of 0, making a small difference look huge. What is this called?

Example 10

easy
True or false: a 3D pie chart with tilt can distort how large each slice appears.

Example 11

medium
You have sales for 15 product categories. Why is a bar chart better than a pie chart here?

Example 12

medium
A histogram of test scores is strongly right-skewed. What does the long right tail tell you?

Example 13

medium
A scatter plot shows points rising along a line. What relationship does this suggest between the variables?

Example 14

medium
To compare the distribution of salaries across 4 departments at a glance, which chart works well?

Example 15

medium
A line chart uses a broken (non-zero, non-marked) y-axis to make a 2% rise look like a doubling. Is this honest?

Example 16

medium
You want to show how total revenue splits into product categories AND how the total changes over 5 years. Which chart fits?

Example 17

medium
A graph's default auto-scaling cut off the top of the data and zoomed in oddly. What is the lesson?

Example 18

medium
You must show the correlation between hours studied and exam score for 50 students. Which chart and what would a tight upward cloud indicate?

Example 19

medium
A chart shows monthly website visits for 12 months and you want to highlight the seasonal up-and-down trend. Which chart is best and why?

Example 20

challenge
A pie chart has slices of 90, 45, and 225 degrees. What percentage of the whole does the largest slice represent?

Example 21

challenge
A bar chart with a y-axis from 100 to 104 shows bars of 101 and 103. The visual heights (above 100) suggest 103 is three times 101. What is the true ratio, and what is the distortion?

Example 22

challenge
A dataset has 6 categories with shares 40%, 25%, 15%, 10%, 7%, 3%. Converting to pie-slice angles, what is the angle (in degrees) of the 15% slice?

Example 23

easy
To show how a single numeric variable is distributed across many values, which chart fits best?

Example 24

easy
You want to show how a total of 100% splits among 4 categories. Which chart is appropriate?

Example 25

easy
True or false: a chart with no title is hard to interpret.

Example 26

easy
Why is a 3D pie chart often a poor choice?

Example 27

medium
A pie chart has slices of 120ยฐ, 90ยฐ, 60ยฐ, and 90ยฐ. What percentage is the smallest slice?

Example 28

medium
You have rainfall data per month for 10 years. Which chart best highlights both seasonal pattern and overall trend?

Example 29

medium
A histogram of test scores has a long tail extending to the right. What does this 'right-skew' mean?

Example 30

medium
A scatter plot shows points cluster along a line going down to the right. What does this suggest about the variables?

Example 31

medium
In a bar chart, 5 categories have bars of heights 8, 6, 10, 4, 12. Which category is the tallest, and what is the range of the bars?

Example 32

medium
What chart would best show the breakdown of monthly expenses across categories AND how the total changes over 12 months?

Example 33

hard
A line chart's yy-axis runs from 9898 to 102102. Bars at 9999 and 101101 make the difference look huge. What is the actual ratio of 101101 to 9999, and what's the distortion factor?

Example 34

hard
A pie chart has shares 50%, 30%, 12%, and 8%. Compute the angle of the smallest slice in degrees.

Example 35

hard
You have 2020 pie slices for 2020 countries' GDP shares. Why is this a bad pie chart, and what should you use instead?

Example 36

hard
Scatter plots of test score vs hours studied show a 'random cloud' with no pattern. What does this say about the relationship?

Example 37

challenge
A 'stacked area chart' over time shows category shares of total. What is its main strength vs. a multi-line chart, and what's a weakness?

Background Knowledge

These ideas may be useful before you work through the harder examples.

data abstract