Visualizing relationships in your data
When we need to show relationships in our data, we are usually talking about plotting two or more variables in a chart to visualize their level of dependency. A scatter plot is probably the most common type of chart to show the relationship between two variables. The following is a scatter plot for two variables, x and y:
The preceding plot shows a clear relationship between x and y. As x increases, y also increases. In this particular case, we can say that there is a linear relationship between both variables. Keep in mind that scatter plots may also catch other types of relationships, not only linear ones. For example, it would also be possible to find an exponential relationship between the two variables.