The situation
The daily scrap export arrives as a CSV file. Some defect names are inconsistent. The production meeting starts shortly. An assistant can produce a convincing explanation before anyone has checked whether the rows add up.
The first useful question is not what the biggest bar says. It is what each row actually represents.
Decide what you are counting
A CSV is a text file containing rows and separated fields. It is a common way to exchange tabular data. A Pareto chart orders categories by their contribution to a chosen total and shows the running cumulative share.
The counting unit matters. One product may have several defects. A list of defects is not necessarily a list of scrapped products. Downtime minutes, incident counts and monetary loss are different measures. Keep separate charts unless a defined conversion and counting rule supports combining them.
A language model can help interpret column labels, propose consistent category names and explain the result. Use a checked spreadsheet formula or validated program for the arithmetic. The engineer approves the input rules.
Step 1: examine the fictional export
The following CSV is entirely fictional. Each row represents a distinct scrap-unit summary for a shift and one primary defect category. The two shifts cover the same training line and day. There are no duplicate units within or between rows by the stated example counting rule.
shift,defect_code,scrap_units
A,BENT,6
A,SCRATCH,3
A,MISSING,1
B,BENT,4
B,SCRATCH,4
B,MISSING,2
Real exports may not give you this assurance. Check the definition of the count, the date range, the relevant line and whether rows are aggregated or individual events. Verify the source record before treating repeated categories as separate quantities.
Do not paste a real CSV into an unapproved assistant. Customer identifiers, hidden fields in the original spreadsheet and distinctive production details may be sensitive. A minimal approved extract is preferable.
Step 2: validate the rows
Check that the header matches the intended fields and that every row has a permitted shift, category and nonnegative integer quantity. Verify whether a blank quantity means missing information or a genuine zero. Do not turn blanks into zero without an approved rule.
If a row looks duplicated, establish whether it represents the same source event or another legitimate summary. In this example, the repeated BENT rows refer to different shifts. Both belong in the total.
Check the arithmetic independently. The fictional shift A total is 10 units. Shift B totals 10 units. Together they account for 20 scrapped units.
Keep an exception list for invalid or unresolved rows. If rows are excluded, document the reason and the effect on coverage. A neat chart with unexplained exclusions is not an improvement over a messy export.
Step 3: group and calculate
Use the approved category definitions. In the example the codes already match, so no renaming or merging is required.
The fictional BENT count is 6 plus 4, or 10. SCRATCH totals 3 plus 4, or 7. MISSING totals 1 plus 2, or 3. The category counts sum to 20, matching the shift totals.
Sort the categories by descending count. Divide each category count by the grand total to obtain its share. For cumulative share, divide the running sum of counts by the same grand total.
All results in this table are calculations from the fictional CSV, not industry statistics.
| Category | Units | Share | Cumulative share |
|---|---|---|---|
| BENT | 10 | 50% | 50% |
| SCRATCH | 7 | 35% | 85% |
| MISSING | 3 | 15% | 100% |
| Total | 20 | 100% | — |
The cumulative line ends at the total because every counted unit has been included exactly once. Calculate cumulative shares from the original counts rather than adding rounded percentages. If the total is zero, do not manufacture a percentage; report that no share can be calculated.
Step 4: interpret the result
In this fictional sample, bent clips contribute the largest count. That makes them a reasonable subject for further investigation. It does not establish why they are bent. It does not establish that the same category dominates another line or shift pattern.
Consider severity and customer exposure separately. A rare dangerous defect may need immediate action regardless of its position on a count chart. Follow the relevant escalation procedure rather than waiting for the next Pareto review.
If you compare periods after an improvement, check the population and production exposure. A smaller absolute scrap count may simply reflect lower production volume. Compare appropriate rates as well as counts when the available evidence supports them.
Step 5: ask AI for interpretation, not arithmetic authority
Use a narrow prompt with approved inputs. For this fictional example, ask the assistant to explain which category deserves investigation, identify missing contextual information and propose questions about the process. Supply the verified totals.
Tell it not to infer root causes or generalize the sample into a factory-wide result. If it suggests that bending comes from a worn tool, treat that as a hypothesis and ask what evidence would distinguish it from handling damage or an incorrect setup.
The engineer decides which hypotheses deserve investigation.
Where it goes wrong
Mixing counting units. If the chart combines defective units and defect events, the denominator no longer has a clear meaning. Establish a consistent counting rule first.
Cleaning away inconvenient rows. Missing categories and unclear quantities require investigation. Do not remove them just to obtain a chart that looks complete.
Believing the explanation without reconciliation. Compare the grouped counts, cumulative result and original export. A model’s confidence cannot replace a checked calculation.
Try it
Read the Pareto chart guide and open the Pareto tool. Select Load example to see how to enter category counts. Replace the example rows with the three fictional categories and counts above and compare the result with the table. Automated AI CSV import is not claimed here. Use the actual controls available.
Check your understanding
- Can scrap units and defect counts be mixed? Not without a defined conversion and counting rule.
- Who decides whether missing rows can be excluded? The engineer using documented rules.
- What checks the cumulative total? A deterministic calculation reconciled to source.
If you spot a mistake in this guide, use the site’s report-a-problem option where available.
Progress is unavailable in this browser.
Sign in to keep your progress on any device.