Curious Minds

Clear answers to science and history questions

Line Plot: Definition, Examples & How to Read One

· 6 min read · Science

A line plot is a simple statistical graph that shows how often each value occurs in a small set of numerical data. You draw a horizontal number line covering the range of the data, then place a mark—usually an X, a dot, or a small stack of symbols—above each value every time it appears. The result looks like a series of columns made of symbols, and it lets you see the shape of the data at a glance: which values are common, which are rare, and how spread out the numbers are. Line plots are standard in elementary and middle school mathematics, and they also appear in quality control and exploratory data analysis, though in those settings the same idea is often called a dot plot.

What a Line Plot Shows

A line plot displays the frequency of individual data values. Each distinct value gets a position on the number line, and the height of the stack above that position equals the number of times the value appears in the data set. For example, suppose nine students report the number of books they read in a month: 1, 2, 2, 3, 3, 3, 4, 5, 5. A line plot would show one X above 1, two Xs above 2, three Xs above 3, one X above 4, and two Xs above 5. From that picture you can immediately identify the most common value (3, the mode), the smallest and largest values (1 and 5, the range), and the overall clustering.

Because every observation is plotted individually, a line plot preserves the raw data. You can count the total number of observations by counting all the marks, and you can recover the original list of values from the graph. That distinguishes it from a histogram, which groups values into bins and loses the individual data points.

How to Make a Line Plot

Constructing a line plot is straightforward and requires only a ruler and something to mark with. The steps are the same whether you are working by hand or in a spreadsheet.

  1. Collect the data and list every value, including repeats.
  2. Find the smallest and largest values to determine the range.
  3. Draw a horizontal number line that covers the range, with evenly spaced tick marks at each relevant value. For small whole numbers, label every tick; for larger or decimal values, choose a sensible interval.
  4. For each observation, place a mark above its value on the number line. Stack marks vertically so that repeated values form a column.
  5. Label the axis and give the plot a title that states what the data represent.

If a value occurs many times, the stack can become tall; some people use a dot instead of an X to save space, or they write the frequency number beside a single mark. Both are acceptable variations as long as the meaning is clear.

Line Plot vs. Dot Plot vs. Histogram

The terms line plot and dot plot are often used interchangeably, especially in school materials. Both show each data value as a mark above a number line. In practice, “dot plot” is more common in statistics education and “line plot” more common in elementary mathematics. A histogram is different: it groups data into intervals (bins) and uses bars whose heights show the count in each bin. Histograms are better for large data sets or continuous measurements, while line plots work best for small sets of discrete values—typically fewer than about 30 observations—where seeing each individual point matters.

A line graph is also different. A line graph connects points to show change over time, with one axis usually representing time. A line plot does not connect marks with a line; the “line” refers to the number line along the bottom.

Common Uses and Examples

Line plots are used wherever small sets of numerical data need a quick visual summary. Typical examples include:

  • Number of pets per student in a class
  • Daily high temperatures recorded over two weeks
  • Scores on a short quiz
  • Number of goals scored per game in a season
  • Measurements such as plant heights rounded to the nearest centimeter

In quality control, a similar chart called a dot plot is sometimes used to check whether a process is centered and how much variation it has. The underlying idea is the same: each observation is a mark, and the pattern of marks reveals the distribution.

Reading and Interpreting a Line Plot

Once the plot is drawn, several features can be read directly. The mode is the value with the tallest stack. The range is the distance between the smallest and largest values. The median can be found by counting marks from either end until you reach the middle observation. Clusters show where most values fall, and gaps show values that do not occur. Outliers appear as isolated marks far from the rest.

A common mistake is to confuse the height of a stack with the value itself. The horizontal position gives the value; the vertical height gives the frequency. Another mistake is to skip tick marks or space them unevenly, which distorts the picture. Always check that the number line is evenly spaced and that every observation is represented exactly once.

Frequently Asked Questions

What is a line plot in simple terms?

A line plot is a graph that puts a mark above a number line for each time a value appears in a data set. The marks stack up to show frequency, so you can see which values are most common.

Is a line plot the same as a line graph?

No. A line graph connects data points with lines, usually to show change over time. A line plot uses a number line and stacked marks to show how often each value occurs; it does not connect the marks.

When should I use a line plot instead of a histogram?

Use a line plot when the data set is small and the values are discrete, so that each observation can be shown individually. Use a histogram when the data set is large or the values are continuous and need to be grouped into intervals.

Can a line plot show negative numbers?

Yes. The number line can extend to the left of zero, and marks are placed above the appropriate negative values just as for positive ones.

How do I find the median from a line plot?

Count the total number of marks to find the number of observations. Then count marks from the lowest value upward until you reach the middle observation. The value at that position is the median. If there is an even number of observations, the median is the average of the two middle values.

What does a gap in a line plot mean?

A gap is a value on the number line with no marks above it. It means that value did not occur in the data set. Gaps can be meaningful—for example, if no student reported reading exactly 7 books—but they can also reflect rounding or a small sample.

In this article
  1. What a Line Plot Shows
  2. How to Make a Line Plot
  3. Line Plot vs. Dot Plot vs. Histogram
  4. Common Uses and Examples
  5. Reading and Interpreting a Line Plot
  6. Frequently Asked Questions