UNIHIVE

Study Hub UNIPORT AGR 101

AGR 101 · Introductory Statistics for Agriculture

Presenting data in charts and graphs

Bar charts, pie charts, histograms, frequency polygons, ogives and line graphs, and when to use each.

Our notes

2 min read

Choosing a chart

DataBest chart
Categories (crops, breeds, LGAs)bar chart, pie chart
Grouped continuous datahistogram, frequency polygon
Cumulative frequencies, medians, quartilesogive
Values over time (rainfall by month, prices by year)line graph
Two measured variables (fertiliser vs yield)scatter diagram

Bar charts

Bars of equal width with gaps; height = frequency or value. Component (stacked) bars show parts of a whole; multiple (grouped) bars compare groups, such as yields of three varieties in two seasons. Start the value axis at zero, or the chart misleads.

Pie charts

The angle of each sector = (value ÷ total) × 360°.
Worked example. A 100 ha farm: cassava 45 ha, maize 30, yam 15, vegetables 10.

  • Cassava 45/100 × 360 = 162°; maize 108°; yam 54°; vegetables 36°. Check: 162 + 108 + 54 + 36 = 360.

Use pies for a few categories only (up to about six); bars are easier to compare.

Histogram

Bars touching, drawn on class boundaries; area represents frequency. With equal classes, height = frequency. With unequal widths, height = frequency density (f ÷ width).
For the broiler data, bars stand on 0.95-1.45, 1.45-1.95, ... with heights 4, 10, 18, 12, 6. The tallest bar marks the modal class.

Frequency polygon

Join the mid-points of the tops of histogram bars with straight lines, closing to the axis at the mid-points of empty classes on each end (0.7 and 3.7 kg here). Several polygons on one graph compare groups (two feeds, for example).

Ogive (cumulative frequency curve)

Plot cumulative frequency against upper class boundaries and join with a smooth curve, starting at zero at the first lower boundary.
Broiler points: (0.95, 0), (1.45, 4), (1.95, 14), (2.45, 32), (2.95, 44), (3.45, 50).
Read the median at cumulative 25, the quartiles at 12.5 and 37.5. The ogive also answers "how many birds weigh under 2 kg?" directly.

Line graph

For time series: months on the horizontal axis, rainfall (mm) on the vertical. Port Harcourt rainfall shows the long wet season and the short dry break in August ("August break"), clear on a line graph.

Good chart habits

  • A title, labelled axes with units, source and date of the data.
  • Even scales; a break mark if an axis does not start at zero.
  • No 3-D effects that distort sizes.

Exams usually ask: draw a histogram and frequency polygon from a table; draw a pie chart with angles shown; draw an ogive and estimate the median and quartiles.

Common mistake: plotting an ogive against mid-points instead of upper boundaries, which shifts every reading by half a class.

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

Read

Watch

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