Skip to content
Plotly templates

Q-Q Plot

Quantile-quantile plot for assessing normality (or fit to any distribution).

Template previewPlotly
Rendering…

Make it your own.

{
  "data":[
    {"type":"scatter","mode":"markers","name":"Sample quantiles",
      "x":[-1.96,-1.44,-1.04,-0.67,-0.32,0,0.32,0.67,1.04,1.44,1.96],
      "y":[-1.85,-1.50,-1.10,-0.62,-0.30,0.05,0.40,0.71,1.10,1.41,2.05],
      "marker":{"color":"#1f47f5","size":9}},
    {"type":"scatter","mode":"lines","name":"y = x",
      "x":[-2.2,2.2],"y":[-2.2,2.2],
      "line":{"color":"#dc2626","dash":"dash"}}
  ],
  "layout":{"title":"Q-Q plot vs N(0,1)","xaxis":{"title":"Theoretical quantiles"},"yaxis":{"title":"Sample quantiles"}}
}