UNIHIVE

Study Hub UNIPORT STA 160

STA 160 · Descriptive Statistics

Charts and graphs

Bar charts, pie charts, histograms, frequency polygons and ogives: when to use each and how to read them.

Our notes

2 min read

Charts make data easy to see at a glance. Every chart needs a title, labelled axes with units (or a key), and a sensible scale.

For qualitative or discrete data

  • Bar chart: bars of equal width with gaps between them; heights show frequencies. Types: simple, component (stacked) and multiple (grouped) bar charts for comparing groups.
  • Pie chart: a circle divided into sectors showing parts of a whole. Angle of a sector = (frequency / total) × 360°.
  • Pictogram: pictures represent quantities (one symbol = 100 students); needs a key.

Worked example (pie chart). Of 40 students, 18 travel by bus, 12 walk and 10 take keke. Angles: bus 18/40 × 360° = 162°, walk 108°, keke 90° (total 360°).

For continuous (grouped) data

  • Histogram: bars with no gaps, drawn on class boundaries. The area of each bar is proportional to the frequency. With equal class widths, heights = frequencies; with unequal widths, plot frequency density = frequency / class width.
  • Frequency polygon: join the midpoints of the tops of the histogram bars (or plot frequency against midpoints), closing it at the midpoints of empty classes at each end.
  • Ogive (cumulative frequency curve): plot cumulative frequency against upper class boundaries and join with a smooth curve (S-shaped). Read off:
  • median at N/2,
  • lower quartile Q₁ at N/4, upper quartile Q₃ at 3N/4,
  • percentiles (the 90th percentile at 0.9N).

Other displays

  • Line graph: shows change over time (time series: monthly rainfall, inflation rate).
  • Stem-and-leaf plot: keeps the actual values: 34, 37, 41 → stem 3 | leaves 4 7; stem 4 | leaf 1.
  • Box-and-whisker plot: shows the minimum, Q₁, median, Q₃ and maximum; good for comparing groups and spotting skewness and outliers.
  • Scatter diagram: shows the relation between two variables (see correlation).

Choosing a chart

DataBest charts
categories (departments, transport modes)bar chart, pie chart
parts of a wholepie chart, component bar chart
continuous grouped datahistogram, frequency polygon, ogive
change over timeline graph
two numeric variablesscatter diagram

Misleading charts to watch for

A y-axis not starting at zero (exaggerating small differences), 3-D effects that distort pie slices, missing scales, unequal pictogram sizes.

Exams usually ask: draw bar charts, pie charts (calculating angles), histograms (including unequal widths), frequency polygons and ogives; estimate the median and quartiles from an ogive; choose the right chart.

Common mistake: leaving gaps between histogram bars, or plotting an ogive against midpoints instead of upper class boundaries.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

Practise

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All STA 160 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.