Constructing Tables and Graphs
Constructing tables and graphs means organizing observations and choosing a visual representation that matches the variable and the question. In brief: category counts can become a frequency table and bar chart, while measurements recorded over time may be shown in a line graph with a correctly spaced time axis.
A clear display begins before any axes are drawn. Define the observations, check the units and decide what comparison the reader needs to make. This guide follows the process from raw data to a labeled graph and explains how to verify totals, scales and conclusions without letting decoration change the message.
How do you define the purpose of a table or graph?
State the question the display should answer. You might compare category counts, show change over time or describe the distribution of a numerical measurement. The question determines which features need to remain visible and which kind of summary is appropriate.
Identify the observational unit: one person, one transaction, one day or one measurement. Also define the variable and its unit. A table of daily totals differs from a table of individual purchases even if both involve money, because the rows represent different kinds of observations.
Record the scope clearly, including the group or period described. If the data are hypothetical, label them as such. A chart should not imply that an invented example is a real survey, and a small observed sample should not silently stand for an entire population.
How do you organize raw data into a table?
Use one row per observation for a raw-data table, or one row per category or interval for a summary table. Give every column a descriptive header and include units in the header where that avoids repetition. Keep one kind of quantity in each column.
For repeated categorical observations, count frequencies and include all categories relevant to the question. For numerical data, decide whether to list individual values or group them into intervals. Grouping improves compactness but loses detail, so it should serve the intended analysis.
Check missing entries, duplicate records and inconsistent units before graphing. A value recorded in centimetres beside values in metres can produce a misleading outlier if the units are ignored. Cleaning the representation does not mean changing inconvenient data; it means resolving documented recording and formatting issues transparently.
How do you choose the right graph type?
Use a bar chart for comparisons among categories, a line graph for an ordered sequence where connecting observations is meaningful, and a dot plot for a small numerical distribution. A scatter plot suits paired numerical variables, while a pie chart can show exclusive shares of one whole.
Do not connect unrelated categories merely to create a line. The line would imply an order or intermediate relationship that may not exist. Likewise, a pie chart requires parts that form the stated total; overlapping multiple-response categories do not satisfy that condition.
Sometimes a table is clearer than a graph, especially when exact values are the primary concern or the dataset is very small. The goal is to make the intended comparison readable, not to use the most elaborate display. A table and graph can complement each other when both precision and pattern matter.
| Data structure | Useful display | Main purpose |
|---|---|---|
| Category counts | Bar chart | Compare categories |
| Measurements through time | Line graph | Show change |
| Small numerical sample | Dot or line plot | Show distribution |
| Two numerical values per observation | Scatter plot | Inspect association |
| Exclusive shares of one total | Pie chart | Show composition |
How do you choose axes and scales?
Place the explanatory or ordering variable on the horizontal axis when that arrangement fits the graph type, and the measured response on the vertical axis. Label each axis with the variable and unit. For a category bar chart, category names replace a numerical horizontal scale.
Choose a range that includes all the data and tick intervals that are easy to interpret. Equal numerical steps should have equal visual spacing on a linear axis. A bar chart normally needs a zero baseline because bar length represents magnitude.
For a time graph, use actual elapsed spacing if the observation times are irregular. Measurements at 09:00, 09:10 and 10:00 should not be equally spaced on a continuous time axis. If a categorical sequence is used instead, make that choice explicit so the connections are not misread as a uniform rate of change.
How do you build a table and graph from a simple dataset?
Suppose a hypothetical garden record lists plant heights of 4, 6, 7 and 10 centimetres at weeks 0, 1, 2 and 3. Create a table with columns week and height in centimetres. Because the observations are equally spaced in time, a line graph can show their sequence clearly.
Mark weeks 0 through 3 at equal horizontal intervals and choose a vertical scale from 0 to at least 10 centimetres. Plot the four points (0, 4), (1, 6), (2, 7) and (3, 10). Connect successive points if the purpose is to display change between the recorded observations.
The connecting segments are a visual guide, not proof that growth was perfectly linear between measurements. The recorded increases are 2, 1 and 3 centimetres across the three weekly intervals. The total increase is 6 centimetres, but the interval changes are not constant.
- Create the week–height table and label the units.
- Choose evenly spaced week positions and a readable height scale.
- Plot all four ordered pairs accurately.
- Connect successive points to show the time sequence.
- Check each plotted point against the source table.
| Week | Height |
|---|---|
| 0 | 4 cm |
| 1 | 6 cm |
| 2 | 7 cm |
| 3 | 10 cm |
What labels, legends and notes should a graph include?
A title should identify the subject and scope, while axis labels identify the quantities. If several series appear, a legend must explain which marks or line styles belong to each. Do not rely on colour alone when text labels or distinct symbols can make the distinction clearer.
Include notes that materially affect interpretation, such as a missing observation, an approximate value or a changed unit. A gap in data should not automatically be filled with an invented point. If interpolation is used, it should be identified as an estimate rather than recorded data.
Use consistent numerical formatting within a table without adding false precision. Measurements recorded to the nearest centimetre need not be displayed with several decimal places. Formatting should help compare values while preserving the precision and meaning of the source information.
How do you check a completed table and graph?
Compare every plotted mark with its source value. For frequency data, sum the frequencies and check the total number of observations. For a percentage table representing a complete partition, verify that exact shares sum to one and explain any small rounding difference in displayed percentages.
Check that the axis labels, units and scale match the table. A point at height 10 on an axis marked tens represents 100, not 10. A mismatch between a graph and its unit label can be more misleading than a small plotting error.
Ask another interpretive question as a test: can a reader find the largest value, compute a difference and identify the scope without extra explanation? If not, revise the labels or layout. A successful display should communicate its data structure as well as its visual pattern.
Why does display design matter and which mistakes are common?
Tables organize exact entries, while graphs encode those entries through visual position or size. Their background is the same structured data, so a graph should preserve the relationships established in the table. Design choices affect which comparisons are easy and which may be distorted.
Common mistakes include selecting a graph type unsuited to the variable, omitting units and using unequal visual intervals on an ordinary numerical axis. Another is smoothing a small dataset into an apparently precise curve without a justified model.
Keep the display faithful to the observations and the question. Prefer clear scales, complete labels and a documented handling of missing or approximate values. A polished appearance cannot compensate for an incorrect denominator, an unsupported connection between points or a conclusion that goes beyond the data shown.