This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Scatter plot" – news ·newspapers ·books ·scholar ·JSTOR(April 2024) (Learn how and when to remove this message) |
| Scatter plot | |
|---|---|
| One of theSeven Basic Tools of Quality | |
| First described by | John Herschel |
| Purpose | To identify the type of relationship (if any) between two quantitative variables |


Ascatter plot, also called ascatterplot,scatter graph,scatter chart,scattergram, orscatter diagram,[2] is a type ofplot ormathematical diagram usingCartesian coordinates to display values for typically twovariables for a set of data. If the points are coded (color/shape/size), one additional variable can be displayed.The data are displayed as a collection of points, each having the value of one variable determining the position on the horizontal axis and the value of the other variable determining the position on thevertical axis.[3]
According to Michael Friendly and Daniel Denis, the defining characteristic distinguishing scatter plots from line charts is the representation of specific observations of bivariate data where one variable is plotted on the horizontal axis and the other on the vertical axis. The two variables are often abstracted from a physical representation like the spread of bullets on a target or a geographic or celestial projection.[4][5]
While Edmund Halley created a bivariate plot of temperature and pressure in 1686, he omitted the specific data points used to demonstrate the relationship. Friendly and Denis claim his visualization was different from an actual scatter plot. Friendly and Denis attribute the first scatter plot toJohn Herschel. In 1833, Herschel plotted the angle between the central star in the constellation Virgo andGamma Virginis over time to find how the angle changes over time, not through calculation but with freehand drawing and human judgment.[4]
Sir Francis Galton extended and popularized the scatter plot and many other statistical tools to pursue a scientific basis for eugenics.[6] When, in 1886, Galton published a scatter plot and correlation ellipse of the height of parents and children, he extended Herschel's mere plotting of data points by binning and averaging adjacent cells to create a smoother visualization.[4] Karl Pearson, R. A. Fischer, and other statisticians and eugenicists built on Galton's work and formalized correlations and significance testing.[6]
A scatter plot can be used either when one continuous variable is under the control of the experimenter and the other depends on it or when both continuous variables are independent. If aparameter exists that is systematically incremented and/or decremented by the other, it is called thecontrol parameter orindependent variable and is customarily plotted along the horizontal axis. The measured ordependent variable is customarily plotted along the vertical axis. If no dependent variable exists, either type of variable can be plotted on either axis and a scatter plot will illustrate only the degree ofcorrelation (notcausation) between two variables.[citation needed]
A scatter plot can suggest various kinds of correlations between variables with a certainconfidence interval. For example, weight and height would be on they-axis, and height would be on thex-axis. Correlations may be positive (rising), negative (falling), or null (uncorrelated). If the dots' pattern slopes from lower left to upper right, it indicates a positivecorrelation between the variables being studied. If the pattern of dots slopes from upper left to lower right, it indicates a negative correlation. A line ofbest fit (alternatively called 'trendline') can be drawn to study the relationship between the variables. An equation for the correlation between the variables can be determined by established best-fit procedures. For a linear correlation, the best-fit procedure is known aslinear regression and is guaranteed to generate a correct solution in a finite time. No universal best-fit procedure is guaranteed to generate a correct solution for arbitrary relationships. A scatter plot is also very useful when we wish to see how two comparable data sets agree to show nonlinear relationships between variables. The ability to do this can be enhanced by adding a smooth line such asLOESS.[7] Furthermore, if the data are represented by a mixture model of simple relationships, these relationships will be visually evident as superimposed patterns.[citation needed]
The scatter diagram is one of theseven basic tools ofquality control.[8]
Scatter charts can be built in the form ofbubble, marker, or/andline charts.[9]

For example, to display a link between a person's lung capacity, and how long that person could hold their breath, a researcher would choose a group of people to study, then measure each one's lung capacity (first variable) and how long that person could hold their breath (second variable). The researcher would then plot the data in a scatter plot, assigning "lung capacity" to the horizontal axis, and "time holding breath" to the vertical axis.[citation needed]
A person with a lung capacity of400 cl who held their breath for21.7 s would be represented by a single dot on the scatter plot at the point (400, 21.7) in theCartesian coordinates. The scatter plot of all the people in the study would enable the researcher to obtain a visual comparison of the two variables in the data set and will help to determine what kind of relationship there might be between the two variables.[citation needed]
For a set of data variables (dimensions)X1,X2, ... ,Xk, the scatter plot matrix shows all the pairwise scatter plots of the variables on a single view with multiple scatterplots in a matrix format. Fork variables, the scatterplot matrix will containk rows andk columns. A plot located on the intersection of row andjth column is a plot of variablesXi versusXj.[10] This means that each row and column is one dimension, and each cell plots a scatter plot of two dimensions.[citation needed]
Ageneralized scatter plot matrix[11] offers a range of displays of paired combinations of categorical and quantitative variables. Amosaic plot,fluctuation diagram, or facetedbar chart may be used to display two categorical variables. Other plots are used for one categorical and one quantitative variables.

When we search for a relationship between two quantitative variables, a standard graph of the available data pairs (X,Y), called ascatter diagram, frequently helps...