How to use the bar graph maker
- Enter one category per line: the name, a comma (or tab), then the number. Pasting two columns from a spreadsheet works too, and a header row is detected automatically.
- Add a title and axis labels. Include units, such as "Sales ($ thousands)", so the graph stands on its own.
- Choose vertical or horizontal bars, and whether to keep your order or sort from largest to smallest.
- Click Make bar graph, check the summary and percentages below it, then click Download PNG.
The numbers behind the graph
Each bar's length is proportional to its value, measured from zero. Alongside the graph, the tool works out each category's share of the total and the average across categories:
Share of xi = xiΣx × 100%
Mean = Σxk
- xi
- The value of one category (one bar)
- Σx
- The total of all the values
- k
- The number of categories (bars)
Shares are only shown when every value is zero or positive, since a "share" of a negative total doesn't make sense.
Worked example
A teacher asks 191 students how they prefer to study: flashcards (42), practice tests (65), rereading notes (28), group study (19) and videos (37).
-
Add up the values
Σx = 42 + 65 + 28 + 19 + 37 = 191
-
Share for the tallest bar, practice tests
65191 × 100% = 34.0%
-
Share for the shortest bar, group study
19191 × 100% = 9.9%
-
Average per category
Mean = 1915 = 38.2
What it means: practice tests are the most popular method, chosen by about a third of students, and more than three times as many students chose them as chose group study. Click Load example above to see this as a graph, then try sorting it largest first.
How to read and make a good bar graph
- Compare lengths, not areas. Each bar starts at zero, so a bar twice as long means a value twice as large.
- Sort when order doesn't matter. Ranking bars from largest to smallest makes the comparison instant. Keep the natural order for things like months, years or age groups.
- Use one color. When every bar measures the same thing, extra colors add nothing. Use a second color only to highlight one bar you want readers to notice.
- Go horizontal for long names. Horizontal bars keep labels readable without tilting them.
- Label the axes with units, and say where the data came from in your caption.
- Skip 3D effects. They distort bar lengths and make values harder to read.
Want to show how two numeric variables relate instead of comparing categories? Use the scatter plot maker.