---
title: Pareto chart
styles: [scientific]
---

```chart
type: pareto
title: Misalignment and discolouration cause most defects
subtitle: Defects per cause, with the running share of the total
data:
  inline:
    - { cause: Scratches, defects: 18 }
    - { cause: Misalignment, defects: 52 }
    - { cause: Cracks, defects: 9 }
    - { cause: Discolouration, defects: 31 }
    - { cause: Other, defects: 6 }
encoding: {x: cause, y: defects}
axes:
  y: {label: Defects}
```
