Statistical Traces
-
Each box spans from quartile 1 (Q1) to quartile 3 (Q3).
The second quartile (Q2, i.e. the median) is marked by a line inside the box. The fences grow outward from the boxes’ edges, by default they span +/- 1.5 times the interquartile range (IQR: Q3-Q1), The sample mean and standard deviation as well as notches and the sample, outlier and suspected outliers points can be optionally added to the box plot. The values and positions corresponding to each boxes can be input using two signatures. The first signature expects users to supply the sample values in the
See moreydata array for vertical boxes (xfor horizontal boxes). By supplying anx(y) array, one box per distinctx(y) value is drawn If nox(y) {array} is provided, a single box is drawn. In this case, the box is positioned with the tracenameor withx0(y0) if provided. The second signature expects users to supply the boxes corresponding Q1, median and Q3 statistics in theq1,medianandq3data arrays respectively. Other box features relying on statistics namelylowerfence,upperfence,notchspancan be set directly by the users. To have plotly compute them or to show sample points besides the boxes, users can set theydata array for vertical boxes (xfor horizontal boxes) to a 2D array with the outer length corresponding to the number of boxes in the traces and the inner length corresponding the sample size. -
The sample data from which statistics are computed is set in
xfor vertically spanning histograms and inyfor horizontally spanning histograms.Binning options are set
See morexbinsandybinsrespectively if no aggregation data is provided. -
The sample data from which statistics are computed is set in
xandy(wherexandyrepresent marginal distributions, binning is set inxbinsandybinsin this case) orz(wherezrepresent the 2D distribution and binning set, binning is set byxandyin this case).The resulting distribution is visualized as a heatmap.
See more -
The sample data from which statistics are computed is set in
xandy(wherexandyrepresent marginal distributions, binning is set inxbinsandybinsin this case) orz(wherezrepresent the 2D distribution and binning set, binning is set byxandyin this case).The resulting distribution is visualized as a contour plot.
See more -
In vertical (horizontal) violin plots, statistics are computed using
y(x) values.By supplying an
See morex(y) array, one violin per distinct x (y) value is drawn If nox(y) {array} is provided, a single violin is drawn. That violin position is then positioned with withnameor withx0(y0) if provided. -
Splom traces generate scatter plot matrix visualizations.
Each splom
See moredimensionsitems correspond to a generated axis. Values for each of those dimensions are set indimensions[i].values. Splom traces support allscatterglmarker style attributes. Specifylayout.gridattributes and/or layout x-axis and y-axis attributes for more control over the axis positioning and style.Declaration
Swift
public struct ScatterPlotMatrix : Trace
View on GitHub
Install in Dash
Statistical Traces Reference