What a graph is for
A table lists numbers exactly. A graph shows the shape of those numbers: which category is largest, how a quantity is shared, or whether a measure is rising. This chapter uses four displays. A bar graph compares separate categories with bars of equal width and equal gaps. A pie chart, also called a circle graph, shows parts of one whole. A histogram shows frequencies of continuous class intervals, and its bars touch. A line graph joins plotted points and is used when a quantity changes over time. The horizontal axis and the vertical axis must both be labelled, with units. A title says what is being shown. The scale on an axis is uniform: if 1 cm stands for 10 units, the next centimetre stands for the next 10, not for 15. A broken scale, when a graph starts above zero, must be marked, or a bar looks taller than the numbers allow. Choosing the display is the first skill. Favourite sports are categories, so a bar graph fits. Marks grouped as 0–10, 10–20 and so on are a histogram. The temperature each hour is a line graph. The way one class spends a day is a pie chart, because the parts make one whole.
- Bars compare categories. A pie chart shows parts of a whole. A histogram shows grouped continuous data. A line graph shows change.
- Label both axes, give units, and keep the scale even.
- The title names the data. A gap or a touching bar is part of the meaning.
Bar graphs and pie charts
In a bar graph the length of a bar is the value of that category. The bars have the same width, and equal spaces separate them, because the categories do not flow into each other. From a graph of books borrowed — Monday 12, Tuesday 18, Wednesday 9 — Wednesday is the least and Tuesday is the greatest, and Tuesday is 18 − 12 = 6 more than Monday. A pie chart starts from a circle of 360°. The angle of a sector is (value of the part / total) × 360°. In a class of 40, 18 choose cricket, 10 football, 8 badminton and 4 chess. The angles are 18/40 × 360° = 162°, 10/40 × 360° = 90°, 8/40 × 360° = 72° and 4/40 × 360° = 36°. The four angles add to 360°, which is the check. Cricket is 18/40 = 9/20 of the class, and the large sector shows that share. A bar graph of the same choices would compare the four numbers, but it would not show them as slices of one class. A pie chart is a poor picture when the quantities are not parts of one total. Two unrelated totals, such as the rainfall of two cities, are not slices of one circle.
- Bar length matches the value. Equal gaps keep categories separate.
- Sector angle = (part / whole) × 360°. The angles must add to 360°.
- Use a pie chart only when the parts make one whole.
Histograms
A histogram looks like a bar graph, but it is used for numerical data that have been grouped into class intervals. The intervals 0–10, 10–20, 20–30 and 30–40 cover a continuous scale. There is no empty gap between 10 and the next class, so the bars touch. The horizontal axis carries the class intervals in order. The vertical axis carries frequency, the number of observations in each interval. If 5 students scored in 0–10, 8 in 10–20, 12 in 20–30 and 3 in 30–40, the tallest bar is 20–30. In this chapter the class widths are equal, so the height of a bar can be read as the frequency. A score of 10 is placed in one of the two neighbouring classes by the rule the question states, often the upper end of the lower class or the lower end of the next, and the same rule is used for every boundary. A histogram is not a display of named categories. Fruits, months and games stay as a bar graph. Joining the tops of histogram bars and calling the result a line graph mixes two pictures. The histogram’s meaning is the frequency of each interval, read from the height when the widths are equal.
- Histogram bars touch because the class intervals are continuous.
- With equal class widths, bar height shows frequency.
- Named categories use a bar graph, not a histogram.
Line graphs
A line graph plots points from a table and joins them in order, usually the order of time. The horizontal axis is the independent quantity, the one that is chosen, such as the hour. The vertical axis is the dependent quantity, the one that is measured, such as temperature. A patient’s temperature of 37.2°C, 38.0°C, 37.6°C and 37.0°C at 8 a.m., 10 a.m., 12 noon and 2 p.m. gives four points. The segments between them show the rise and the fall. The graph does not claim that the temperature changed in a perfectly straight way between the readings. It shows the recorded values and the direction of change from one reading to the next. You can see that the temperature was highest at 10 a.m. and that it fell after that. A quantity that changes unevenly does not become a single straight line merely because the points are joined. A line graph of a uniform rate is a different case, taken up with linear graphs. When you read a line graph, go from the known axis straight across or straight up to the graph, then across to the other axis. Guessing a value by the slope of a jagged graph, without a reading, invents data the table does not have.
- Time, or the chosen quantity, is usually on the horizontal axis.
- Join the points in order. The segments show change between readings.
- A jagged line graph is not automatically one straight-line rule.
Locating a point
Two perpendicular number lines make the axes. Their meeting point is the origin, written O(0, 0). The horizontal line is the x-axis. The vertical line is the y-axis. A point is an ordered pair (x, y). The first number, the x-coordinate or abscissa, is the distance along the x-axis. The second, the y-coordinate or ordinate, is the distance parallel to the y-axis. To plot (4, 3), start at the origin, move 4 units along the positive x-axis, then 3 units up. The point (3, 4) is a different place: 3 along and 4 up. Order is the address. Positive x is to the right of the origin and positive y is up. Negative x is to the left and negative y is down. Data in this chapter, such as cost and time, are not negative, so the useful region is the first quadrant, where both coordinates are zero or positive. A point with a negative coordinate lies in another region of the plane. Naming all four quadrants, and working with points as a geometry chapter, is the Class 9 coordinate geometry lesson. Here, a point is the address you plot so that a graph can be drawn and read. Points with the same x-coordinate lie on a vertical line. Points with the same y-coordinate lie on a horizontal line.
- The origin is (0, 0). The pair is (x, y): across, then up or down.
- (4, 3) and (3, 4) are different points.
- Cost, time and distance graphs in this chapter use zero and positive coordinates.
Linear graphs and their uses
A linear graph is a straight line. It comes from a rule in which the two quantities change at a steady rate. If a pen costs ₹8, the cost y of x pens is y = 8x. The table (0, 0), (1, 8), (2, 16), (3, 24) plots as a straight line through the origin. No pens cost nothing, so the origin belongs on the graph. Any extra point follows the same rule: 7 pens cost ₹56. Simple interest for one year at 5% is I = P/20. A principal of ₹2,000 earns ₹100. Double the principal and the interest doubles, and the graph of interest against principal is a straight line through the origin. A charge with a fixed part behaves differently. If parking costs ₹20 plus ₹10 for each hour, the cost of 0, 1, 2 and 3 hours is ₹20, ₹30, ₹40 and ₹50. The points lie on a straight line, but the line meets the cost axis at 20 rather than at the origin, because the fixed charge is there before the first hour. Uniform motion also gives a straight line. A car at 40 km/h has the table time 0, 1, 2, 3 hours and distance 0, 40, 80, 120 km. At 2.5 hours the distance is 100 km, read from the rule or from the line. A steeper straight line through the origin, for the same scales, means a higher speed, because the same time goes with a larger distance. The line is used to read a value between plotted points only when the relationship really is linear.
- y = 8x and interest proportional to principal are straight lines through the origin.
- A fixed charge plus a rate is still a straight line, but it does not pass through the origin.
- On a uniform distance-time graph, a steeper line means a higher speed. Read in-between values only on a linear graph.
Worked examples
A class of 36 students chooses games: cricket 15, football 9, kho-kho 6, chess 6. Find the pie-chart angle for each game.
- The whole class is the whole circle, 360°.
- Cricket: 15/36 × 360° = 150°. Football: 9/36 × 360° = 90°.
- Kho-kho: 6/36 × 360° = 60°. Chess: 60°. Check: 150 + 90 + 60 + 60 = 360.
Temperatures at 6 a.m., 9 a.m., 12 noon and 3 p.m. are 22°C, 27°C, 31°C and 29°C. What does the line graph show, and which is the highest reading?
- Plot time on the horizontal axis and temperature on the vertical axis.
- The segments rise from 6 a.m. to 12 noon, then fall to 3 p.m.
- The highest recorded point is 31°C at 12 noon.
A point is 5 units to the right of the origin and 2 units up. Write its coordinates. How is (2, 5) different?
- Right is positive x and up is positive y.
- The ordered pair is (5, 2).
- (2, 5) is 2 units right and 5 units up, a different point.
One notebook costs ₹12. Write the cost of 0, 1, 2 and 3 notebooks. What does the graph look like, and what is the cost of 6 notebooks?
- Cost y and number x are linked by y = 12x.
- The points are (0, 0), (1, 12), (2, 24) and (3, 36).
- They lie on a straight line through the origin. Six notebooks cost 12 × 6 = ₹72.
A parking fee is ₹30 plus ₹20 per hour. Is the graph a straight line? Does it pass through the origin? What is the fee for 4 hours?
- Fee = 30 + 20 × hours. Equal steps of one hour add ₹20 each time.
- At 0 hours the fee is ₹30, so the point (0, 0) is not on the graph.
- For 4 hours the fee is 30 + 80 = ₹110.
A scooter moves at a steady 30 km/h. How far has it travelled after 2 hours and after 2.5 hours? Would a line for 50 km/h be steeper or less steep on the same axes?
- Distance = 30 × time, a straight line through the origin.
- After 2 hours, 60 km. After 2.5 hours, 75 km.
- At 50 km/h the same time gives a larger distance, so that line is steeper.
Common mistakes to avoid
Leaving gaps between the bars of a histogram, or drawing a bar graph of fruits with no gaps.
Drawing a pie chart for numbers that are not parts of one whole, or forgetting that the angles must sum to 360°.
Reading (x, y) as up first and across second, so that (4, 1) is plotted as (1, 4).
Treating every joined line graph as one straight-line formula.
Putting the dependent quantity on the horizontal axis and then reading the axes backwards.
Using a straight line to fill a gap in data that are not linear.
Practise with questions and worked answers.
The worksheet moves from basic recall to careful application.
Questions students often ask
How is a histogram different from a bar graph?
A bar graph compares separate categories, and the bars have gaps. A histogram shows frequencies of continuous class intervals, and neighbouring bars touch. With equal class widths, the height of a histogram bar is the frequency.
How do you find the angle of a pie-chart sector?
Divide the part by the whole and multiply by 360°. The angles of all the sectors must add to 360°. If they do not, the fractions or the arithmetic should be checked.
Does every line graph give a straight line?
No. A line graph joins the plotted readings in order. Those segments are one straight line only when the two quantities change at a constant rate, as in y = 8x or distance at a steady speed.
Why does the pen-cost graph pass through the origin, while the taxi-fare graph does not?
Zero pens cost ₹0, so (0, 0) is a point of y = 8x. A taxi fare that includes a fixed charge is not zero when the distance is zero. The fare graph is still a straight line, but it meets the fare axis at the fixed charge.
Is this the same chapter as Class 9 coordinate geometry?
No. Class 8 uses coordinates to plot and read graphs of data and of linear relations. Class 9 studies the Cartesian plane, the four quadrants and plotting as geometry. The distance formula is later work and is not used here.