Creating a scatter plot
In a scatter plot, markers are displayed in a two-dimensional coordinate system. It is useful for getting an overview of how your data is distributed across two dimensions.
Procedure
Examples
When visualizing data in scatter plots, you get a view of the
distribution. You may for example find that data forms groups, or that data is
more gathered.
![One scatter plot with two groups and one with a single large group.](../../images/scatter_plot_distribution.png)
The scatter plot can also be used to examine whether or not there is a relationship between the columns. The closer the markers are to a straight line, the stronger the relation. For example, the column values in the left-hand scatter plot below do not seem to be related, but in the right-hand scatter plot, a higher value on the X-axis seems, in general, to have a higher value on the Y-axis.
![One scatter plot with markers spread all around and one with markers generally in a line.](../../images/scatter_plot_correlation.png)
![One scatter plot with two groups and one with a single large group.](../../images/scatter_plot_distribution.png)
The scatter plot can also be used to examine whether or not there is a relationship between the columns. The closer the markers are to a straight line, the stronger the relation. For example, the column values in the left-hand scatter plot below do not seem to be related, but in the right-hand scatter plot, a higher value on the X-axis seems, in general, to have a higher value on the Y-axis.
![One scatter plot with markers spread all around and one with markers generally in a line.](../../images/scatter_plot_correlation.png)
To illustrate how you can get an overview of the data distribution,
the following data table is visualized in the bottom scatter plot.
![Example data table .](../../images/scatter_plot_example_table.png)
The data table lists areas and prices of a number of apartments. At a quick glance, it is easy to see that the objects appear in groups.
![Scatter plot with three groups of values.](../../images/scatter_plot_example.png)
![Example data table .](../../images/scatter_plot_example_table.png)
The data table lists areas and prices of a number of apartments. At a quick glance, it is easy to see that the objects appear in groups.
![Scatter plot with three groups of values.](../../images/scatter_plot_example.png)
Parent topic: Scatter plot