Last updated
Last updated
A scatter plot uses dots to represent values for two different numeric variables. The position of each dot on the horizontal and vertical axis indicates values for an individual data point. Scatter plots are used to observe relationships between variables.
The primary uses of the scatter plot are to observe and show relationships between two numeric variables. The dots in a scatter plot not only report the values of individual data points but also patterns when the data are taken as a whole.
The swarm plot can draw a categorical scatterplot with non-overlapping points. It gives a better representation of the distribution of values. In addition, it is also a good complement to a box or violin plot in cases where you want to show all observations along with some representation of the underlying distribution.