Scatter plots

One of the most useful charts for data analysis are scatter plots. These charts are heavily used in data analysis, especially in clustering techniques, classification, and so on. In this chart, we pick up data points from the data and plot them as dots on a chart. In simple terms, scatter plots are just data points plotted on x and y axes as shown below. This helps us figure out where the data is more concentrated or in which direction the data is actually flowing.

This is very useful for showing trends, clusters, or patterns, for example, we can figure out which data points lie closer to each other. As an example, let's see a scatter plot next that shows the price of houses versus their living area.

As you can see from the graph, ...

Get Big Data Analytics with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.