Pareto Chart
Descending bars with a cumulative-percentage line, from labels and counts you paste.
What this page computes
Put one category per line as a label and a count, like alpha, 12. The page sorts the categories by count, draws the bars with each count labelled, and overlays the running share of the total as a line with a dashed gridline at 80 percent. Labels are read from the line and escaped, and the total is printed in the title. The output pane holds the SVG source.
The bars and the line are on different scales: the bars are counts on the left axis and the line is a percentage from 0 to 100, which the note states. A negative count is refused by line, a line without a comma is refused with the expected shape, and a table whose counts are all zero is refused.
Everything is computed from the pasted rows in this tab, so the same table always draws the same chart.
The page draws a Pareto chart: the categories are sorted largest first, drawn as bars, with a line for the cumulative percentage on a second axis. Each line of input is one category and its count, split on the last comma, so a label may itself contain a comma. At least two categories are needed and at least one count must be above zero, since a chart of all zeros has no height.
Draw a Pareto chart from labelled counts. Categories are sorted largest first, with the cumulative line over them.
How to use it
Paste one category per line as a label and a count separated by a comma, for example alpha, 30. The label may contain commas because the split is taken at the last one; a line with no comma or a count that is not a number is refused by line number. Negative counts are refused rather than drawn downwards.
Sorting and the cumulative line
Sorting is the whole point of the chart: the bars are ordered by count, not by the order you pasted them, so the largest few categories and their cumulative share are visible at a glance. The cumulative line reaches 100% at the last bar by construction. The page does not apply the 80/20 rule for you or colour a cutoff — it draws the data and leaves the reading to you.
What to Expect
Best for
- Seeing which few categories carry most of a total
What this tool keeps
- Nothing leaves this tab: the arithmetic runs in the page you are reading, and a reload discards both the input and the result.
Frequently asked questions
How is each line read?
As a label and a count separated by a comma, and the split is taken at the last comma so a label may contain one. A line with no comma or a non-numeric count is refused by line number.
Can I control the order of the bars?
No. The bars are sorted by count, largest first, which is what makes the chart a Pareto chart. The cumulative line then reaches 100% at the final bar.
Is anything uploaded?
No. The sort, the percentages and the SVG are all computed in this page, and nothing is posted to a server or stored.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.