Sina plot

Type of diagram
A violin plot (on the left) and a sina plot (on the right) for the same sample.

A sina plot is a type of diagram in which numerical data are depicted by points distributed in such a way that the width of the point distribution is proportional to the kernel density.[1][2] Sina plots are similar to violin plots, but while violin plots depict kernel density, sina plots depict the points themselves. In some situations, sina plots may be preferable to violin plots, because sina plots contain more information.[3][4]

There are a number of ways to create sina plots, in particular:

  • The ggplot2 library of the R programming language used together with the ggforce package.[5]
  • The sinaplot library of the R programming language.[6]
  • The plotnine library of the Python programming language.[7]

See also

  • Violin plot
  • Box plot

References

  1. ^ Sidiropoulos, Nikos; Sohi, Sina Hadi; Pedersen, Thomas Lin; Porse, Bo Torben; Winther, Ole; Rapin, Nicolas; Bagger, Frederik Otzen (2018-07-03). "SinaPlot: An Enhanced Chart for Simple and Truthful Representation of Single Observations Over Multiple Classes". Journal of Computational and Graphical Statistics. 27 (3): 673–676. doi:10.1080/10618600.2017.1366914. ISSN 1061-8600.
  2. ^ Wilke, Claus (2019). Fundamentals of data visualization: a primer on making informative and compelling figures (First ed.). Beijing Boston Farnham Sebastopol Tokyo: O'Reilly. ISBN 978-1-4920-3108-6.
  3. ^ "Sinaplot vs Violin plot - Why Sinaplot is better than Violinplot in R". GeeksforGeeks. 2023-02-03. Retrieved 2023-11-18.
  4. ^ datavizpyr (2021-03-28). "Sinaplot vs Violin plot: Why Sinaplot is better than Violinplot - Data Viz with Python and R". Retrieved 2023-11-18.
  5. ^ https://ggforce.data-imaginist.com/reference/geom_sina.html
  6. ^ https://cran.r-project.org/web/packages/sinaplot/vignettes/SinaPlot.html
  7. ^ https://plotnine.readthedocs.io/en/stable/generated/plotnine.geoms.geom_sina.html
  • v
  • t
  • e
Statistics
Descriptive statistics
Continuous data
Center
Dispersion
Shape
Count data
Summary tables
Dependence
Graphics
Study design
Survey methodology
Controlled experiments
Adaptive designs
Observational studies
Statistical theory
Frequentist inference
Point estimation
Interval estimation
Testing hypotheses
Parametric tests
Specific tests
  • Z-test (normal)
  • Student's t-test
  • F-test
Goodness of fit
Rank statistics
Bayesian inference
Correlation
Regression analysis
Linear regression
Non-standard predictors
Generalized linear model
Partition of variance
Categorical
Multivariate
Time-series
General
Specific tests
Time domain
Frequency domain
Survival
Survival function
Hazard function
Test
Biostatistics
Engineering statistics
Social statistics
Spatial statistics
  • Category
  • icon Mathematics portal
  • Commons
  • WikiProject