Free chart maker

Frequency Polygon Maker

Turn raw data or a frequency table into a frequency polygon: a line through the midpoint of each class. Add more data sets to compare distributions on one graph.

  • 100% free
  • No sign-up
  • No watermark
  • PNG · JPG · SVG · PDF

Your work is saved automatically in this browser. Nothing is uploaded.

Analyze your data

ClassFreq.RelativeCum.Cum. %
[40, 50)43.3%43.3%
[50, 60)1915.8%2319.2%
[60, 70)3226.7%5545.8%
[70, 80)3428.3%8974.2%
[80, 90)2218.3%11192.5%
[90, 100]97.5%120100%
Total120100%

Your data

Raw data

120 numbers

Separate numbers with commas, spaces or new lines. Paste a column from Excel or Google Sheets, or drop an .xlsx / .csv file here.

Start from an example

How to make a frequency polygon

  1. Paste your raw numbers, or switch to “Frequency table” on the Data tab and enter classes with frequencies.
  2. Check the classes in the Bins tab; a width like 5 or 10 gives clean midpoints.
  3. Add a title and axis labels. Switch on “Show bars” in the Design tab if you also want the histogram.
  4. Download the graph as PNG, JPG, SVG or PDF.

How a frequency polygon is drawn by hand

  1. Find the midpoint of each class: (lower boundary + upper boundary) ÷ 2. For 40–50 that is 45.
  2. Plot a point above each midpoint at a height equal to the class frequency.
  3. Join the points with straight lines.
  4. Close the polygon by adding a point with frequency 0 half a class width beyond each end, so the shape sits on the x-axis. (This tool brings the line down to zero at the outer edges of the first and last classes.)
ClassMidpointFrequency
40–50453
50–60558
60–706514
70–80759
80–90854

The points to plot are (45, 3), (55, 8), (65, 14), (75, 9) and (85, 4).

Why use a frequency polygon?

  • Comparing distributions. Two or three overlapping lines are far easier to read than overlapping bars. Click “Add data set” to plot several groups on the same classes.
  • Seeing the overall shape. The line makes peaks, skew and multiple modes stand out.
  • Relative frequency polygons. Switch the y-axis to Percent in the Bins tab to compare groups of different sizes.

Need running totals instead? Use the ogive maker. Prefer bars? Go back to the histogram maker.

Worked example: comparing two classes

Suppose two classes take the same test. Plotted as two polygons on the same classes, Class A peaks at 60–70 and Class B at 70–80. The horizontal shift between the peaks shows Class B scored about 10 points higher, and the width of each polygon shows which class was more consistent. The same comparison with overlapping bars would be much harder to read.

Common mistakes to avoid

  • Plotting points at class limits instead of midpoints. Each point sits above the midpoint of its class.
  • Leaving the polygon floating. Close it by returning to zero at both ends.
  • Joining points with a smooth curve. A frequency polygon uses straight segments. A smooth curve suggests a fitted model.

Do it in other software

SoftwareHow
ExcelCompute class midpoints and frequencies, then insert a Scatter chart with straight lines and markers.
Pythoncounts, edges = np.histogram(data, bins); plt.plot((edges[:-1] + edges[1:]) / 2, counts, marker="o")

Related tools: Histogram Maker, Ogive Maker, Histogram from a Frequency Table, Frequency Distribution Table Maker and Relative Frequency Histogram.

Frequently asked questions

What is a frequency polygon?

A frequency polygon is a line graph of a frequency distribution. Each class is represented by a point at its midpoint, at a height equal to its frequency, and the points are joined with straight lines. The line is usually brought down to zero at both ends.

How is a frequency polygon different from a histogram?

They show the same information. A histogram uses bars; a frequency polygon uses points joined by lines. Polygons are better for comparing two or more distributions on one graph, because overlapping lines are easier to read than overlapping bars.

Can I show the histogram and the polygon together?

Yes. Switch on 'Show bars' in the Design tab to draw the histogram underneath the polygon. The polygon passes through the middle of the top of each bar.

How do I make a frequency polygon from a frequency table?

On the Data tab, choose 'Frequency table' and type each class with its frequency, such as '10-20: 4'. The polygon uses the class midpoints automatically.

What is the difference between a frequency polygon and an ogive?

A frequency polygon plots the frequency of each class at its midpoint. An ogive plots the cumulative frequency at each class's upper boundary, so it always rises. Use the ogive maker for that.

Related tools