Skip to content
Plotly templates

Math — Plot: Control Chart

Process data with upper and lower control limits.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines+markers","name":"measurement","line":{"color":"#0891b2","width":3},
     "x":[1,2,3,4,5,6,7,8,9,10],"y":[10.2,9.8,10.1,10.5,9.9,11.8,10.0,9.7,10.3,10.1]},
    {"type":"scatter","mode":"lines","name":"UCL","line":{"color":"#dc2626","width":2,"dash":"dash"},
     "x":[1,10],"y":[11.5,11.5]},
    {"type":"scatter","mode":"lines","name":"LCL","line":{"color":"#dc2626","width":2,"dash":"dash"},
     "x":[1,10],"y":[8.5,8.5]}
  ],
  "layout": {"title":"Statistical process control","xaxis":{"title":"sample"},"yaxis":{"title":"value"}}
}