Pareto chart

A Pareto chart finds the few causes behind most of a total: sorted columns and a cumulative share line, with the items up to a stated threshold highlighted.

React
import { ParetoChart } from 'boardplot/react/pareto';
Use for
Few causes, most volume · Customer concentration · Defect causes by count
Not for
Negative contributions; pareto accumulates nonnegative parts of one total.

Defect causes with 80% threshold

Pareto chart, 8 causes sorted descending, total 300. The first 3 of 8 (Alignment drift, Adhesive failure, Misprint) reach 82%, crossing the 80% reference at 'Misprint'. The cumulative curve is derived from the plotted values and ends at the grand total. Where the defects come from Defects recorded · FY25 Source: Quality log, plant 2 Top three Other causes Cumulative % 0 100 200 300 0% 25% 50% 75% 100% 80 120 45 defects 10 2 3 25 15 40% Adhesive failure Alignment drift Labelling error Misprint Unclassified Packaging damage Surface scratch Panel warp 82% 80%

A Pareto chart of eight defect causes with a cumulative curve and an 80% line; alignment drift (120), adhesive failure (80) and misprint (45) reach 82% of 300 defects.

Download SVG Fixture IDdefect-causes
JSON spec

This spec includes the theme shown and the options you selected.

{
  "type": "pareto",
  "data": {
    "items": [
      {
        "id": "misprint",
        "label": "Misprint",
        "value": 45
      },
      {
        "id": "alignment",
        "label": "Alignment drift",
        "value": 120
      },
      {
        "id": "adhesive",
        "label": "Adhesive failure",
        "value": 80
      },
      {
        "id": "scratch",
        "label": "Surface scratch",
        "value": 25
      },
      {
        "id": "warp",
        "label": "Panel warp",
        "value": 15
      },
      {
        "id": "labelling",
        "label": "Labelling error",
        "value": 10
      },
      {
        "id": "packaging",
        "label": "Packaging damage",
        "value": 3
      },
      {
        "id": "other",
        "label": "Unclassified",
        "value": 2
      }
    ]
  },
  "options": {
    "size": {
      "width": 720,
      "height": 404
    },
    "title": "Where the defects come from",
    "subtitle": {
      "measure": "Defects recorded",
      "period": "FY25"
    },
    "totalScale": true,
    "unit": "defects",
    "source": "Quality log, plant 2",
    "strings": {
      "others": "Other causes"
    }
  }
}

Line stops ranked by cause

Pareto chart, 10 causes sorted descending, total 1,249. The first 5 of 10 (Late supplier deliveries, Incorrect bill of materials, Machine setup errors on the press line, Operator training gaps, Damaged packaging at inbound) reach 86%, crossing the 80% reference at 'Damaged packaging at inbound'. The cumulative curve is off. Late deliveries and bill-of-materials errors cause most line stops Line stops by cause · FY26 Source: Illustrative plant log Top five: 86% Outside top five 0 100 200 300 400 268 412 88 190 121 61 44 14 30 21 Mislabelled bins Incorrect bill of materials Calibration drift Late supplier deliveries Other causes Damaged packaging at inbound Scanner software faults Machine setup errors on the press line Operator training gaps Weather delays

A ranked column chart of ten line-stop causes with staircase labels; late supplier deliveries (412) and incorrect bill of materials (268) lead, and the top five make up 86% of 1,249 stops.

Download SVG Fixture IDstaircase-labels
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from {"width":800,"height":560} to the width of the site frame.

{
  "type": "pareto",
  "data": {
    "items": [
      {
        "id": "late",
        "label": "Late supplier deliveries",
        "value": 412
      },
      {
        "id": "bom",
        "label": "Incorrect bill of materials",
        "value": 268
      },
      {
        "id": "setup",
        "label": "Machine setup errors on the press line",
        "value": 190
      },
      {
        "id": "training",
        "label": "Operator training gaps",
        "value": 121
      },
      {
        "id": "packaging",
        "label": "Damaged packaging at inbound",
        "value": 88
      },
      {
        "id": "bins",
        "label": "Mislabelled bins",
        "value": 61
      },
      {
        "id": "calibration",
        "label": "Calibration drift",
        "value": 44
      },
      {
        "id": "scanner",
        "label": "Scanner software faults",
        "value": 30
      },
      {
        "id": "weather",
        "label": "Weather delays",
        "value": 21
      },
      {
        "id": "other",
        "label": "Other causes",
        "value": 14
      }
    ]
  },
  "options": {
    "size": {
      "width": 1000
    },
    "cumulative": false,
    "categoryLabels": "staircase",
    "title": "Late deliveries and bill-of-materials errors cause most line stops",
    "subtitle": {
      "measure": "Line stops by cause",
      "period": "FY26"
    },
    "source": "Illustrative plant log"
  }
}

Top two defect causes at two thirds

Pareto chart, 6 causes sorted descending, total 295. No threshold reference is drawn and no vital few is highlighted. The cumulative curve is derived from the plotted values and ends at the grand total. Alignment drift and adhesive failure make up two thirds of defects Defects recorded · FY25 Source: Quality log, plant 2 0 50 100 0% 50% 100% Cumulative share, % defects 80 120 10 45 25 15 41% Adhesive failure Alignment drift Labelling error Misprint Surface scratch Panel warp

A Pareto chart of six defect causes with a cumulative curve; alignment drift (120) and adhesive failure (80) together make up about two thirds of 295 defects.

Download SVG Fixture IDcurve-without-threshold
JSON spec

This spec includes the theme shown and the options you selected.

{
  "type": "pareto",
  "data": {
    "items": [
      {
        "id": "misprint",
        "label": "Misprint",
        "value": 45
      },
      {
        "id": "alignment",
        "label": "Alignment drift",
        "value": 120
      },
      {
        "id": "adhesive",
        "label": "Adhesive failure",
        "value": 80
      },
      {
        "id": "scratch",
        "label": "Surface scratch",
        "value": 25
      },
      {
        "id": "warp",
        "label": "Panel warp",
        "value": 15
      },
      {
        "id": "labelling",
        "label": "Labelling error",
        "value": 10
      }
    ]
  },
  "options": {
    "size": {
      "width": 720,
      "height": 404
    },
    "title": "Alignment drift and adhesive failure make up two thirds of defects",
    "subtitle": {
      "measure": "Defects recorded",
      "period": "FY25"
    },
    "unit": "defects",
    "threshold": false,
    "source": "Quality log, plant 2"
  }
}

Minimal spec

Save this spec as pareto.json and run the command.

{
  "type": "pareto",
  "data": {
    "items": [
      { "id": "billing", "label": "Billing", "value": 80 },
      { "id": "delivery", "label": "Delivery", "value": 15 },
      { "id": "other", "label": "Other", "value": 5 }
    ]
  },
  "options": { "unit": "cases", "title": "Billing accounts for 80% of cases", "source": "Illustrative data" }
}
npx boardplot render pareto.json --out pareto.svg