
Dan Patiño
AI Strategy & Innovation at Coderhouse
Data
A Pareto chart is a combined bar and line chart that ranks categories from largest to smallest and shows how much each one contributes to the total. The bars show the value of each category in descending order, and the line shows the cumulative percentage as you move from left to right. At a glance, you can see which few categories explain most of the problem.
It is built on the Pareto principle, often called the 80/20 rule: in many situations, roughly 80% of the effects come from about 20% of the causes. Data analysts use Pareto charts to decide where to focus first, whether that means support ticket reasons, product defects, refund causes or revenue by customer.
How to read a Pareto chart
Bars (left axis): the count, cost or frequency for each category, sorted from highest to lowest.
Cumulative line (right axis): the running total as a percentage of the overall total, ending at 100%.
The "vital few": the categories on the left, before the line crosses around 80%. These are your priorities.
The "useful many": the long tail on the right. Each one matters less individually.
The Pareto chart is one of the seven basic tools of quality control, widely used in quality management and process improvement because it turns a messy list of issues into a clear priority order.
A worked example
Imagine an online store logged 1,000 refund requests last quarter, grouped by reason:
Wrong size: 420 (42%, cumulative 42%)
Arrived late: 260 (26%, cumulative 68%)
Damaged in transit: 140 (14%, cumulative 82%)
Not as described: 90 (9%, cumulative 91%)
Changed mind: 60 (6%, cumulative 97%)
Other: 30 (3%, cumulative 100%)
Three reasons out of six explain 82% of refunds. A Pareto chart makes that obvious: the team should improve the size guide and fix shipping issues before polishing product descriptions. Notice that the split here is not exactly 80/20. That is normal; the rule is a heuristic, not a law.
How to build a Pareto chart step by step
Define the question and the measure. Count of incidents, cost, time lost or revenue. Choose the one that reflects the impact you care about.
Group the data into categories. Keep categories mutually exclusive and at a similar level of detail.
Sort categories in descending order by the measure.
Calculate percentages and the cumulative percentage for each row.
Plot bars for the values and a line for the cumulative percentage on a secondary axis from 0% to 100%.
Mark the cutoff (often 80%) to highlight the vital few.
Pareto charts in Excel, SQL and Python
Excel: recent versions include a built-in Pareto chart type under the histogram charts. Microsoft explains how to create a Pareto chart from a table of categories and values.
Google Sheets: sort your table, add a cumulative percentage column, and build a combo chart with columns for values and a line for the cumulative percentage on the right axis.
SQL: group and count with
GROUP BY, then compute the running share with a window function such asSUM(cnt) OVER (ORDER BY cnt DESC) / SUM(cnt) OVER ().Python: with pandas, use
value_counts(), thencumsum()divided by the total; plot bars and a twin-axis line with matplotlib.
When to use a Pareto chart
Prioritizing fixes: which bug types, defect causes or complaint reasons to tackle first.
Customer and revenue analysis: how concentrated revenue is across customers or products, which feeds account prioritization.
Operations: which steps cause most delays or most costs.
Funnel work: combined with funnel analysis, it shows which drop-off reasons account for most lost conversions.
A Pareto chart is about categories. If you want to see how a numeric variable is distributed, a histogram is the better tool.
Common mistakes
Counting frequency when cost matters: ten cheap issues may matter less than one expensive one. Consider weighting by cost or time.
A huge "Other" bar: if "Other" is one of your largest categories, your categories need work.
Treating 80/20 as exact: the real split might be 70/30 or 90/10. Report what the data shows.
Mixing time periods: compare categories over the same window, and rebuild the chart after fixes to confirm the impact.
Stopping at the chart: it tells you where to look, not why. Follow up with root-cause analysis on the top categories, and track them with clear KPIs.
FAQ
What is the difference between a Pareto chart and a bar chart?
A Pareto chart is a bar chart sorted in descending order with an added cumulative percentage line, designed specifically to show which categories contribute most to the total.
Does the 80/20 rule always hold?
No. It is a rule of thumb that describes many real-world concentrations, but the actual split varies. The value of the chart is showing the real concentration in your data.
How many categories should a Pareto chart have?
Usually somewhere between 5 and 12 is readable. Group very small categories into "Other", but keep it smaller than your main bars.
Can I build a Pareto chart without Excel?
Yes. Google Sheets, BI tools like Looker Studio or Power BI, SQL plus any charting tool, and Python all work.
Keep learning with Coderhouse
Turning raw lists into clear priorities is one of the most valuable things a data analyst does. Choose your next step:
Data Analytics Course — learn Excel, SQL, Python and data visualization with live feedback from practitioners; no coding background needed.
Forward Deployed AI Engineering Course — for experienced developers who want to build AI systems that analyze and act on business data.
GTM Engineer Course (waitlist) — join the waitlist to be the first to know when the program on automating go-to-market workflows with AI opens.
I'm Dan Patiño, head of AI Strategy & Innovation at Coderhouse. My day-to-day work involves merging the tactical management of e-commerce (CRO, Email Marketing and SEO) with the development of disruptive solutions. I specialize in building internal AI-powered apps to automate tasks and boost innovation within the team. I firmly believe that technology is strategy's best ally. To dive deeper into my professional journey, I'll be waiting for you on my LinkedIn profile.