Wikipedia
{mn} | meanlimits = $\bar p \pm 3\sqrt{\frac{\bar p(1-\bar p)}{n}}$ | meanstatistic = $\bar p_i = \frac {\sum_{j=1}^n \begin{cases} 1 & \mbox{if }x_{ij}\mbox{ defective} \\ 0 & \mbox{otherwise} \end{cases}}{n}$ }}
In statistical quality control, the p-chart is a type of control chart used to monitor the proportion of nonconforming units in a sample, where the sample proportion nonconforming is defined as the ratio of the number of nonconforming units to the sample size, n.
The p-chart only accommodates "pass"/"fail"-type inspection as determined by one or more go-no go gauges or tests, effectively applying the specifications to the data before they are plotted on the chart. Other types of control charts display the magnitude of the quality characteristic under study, making troubleshooting possible directly from those charts.