SCATTER PLOT

A Scatterplot displays the value of 2 sets of data on 2 dimensions. Each dot represents an observation. The position on the X (horizontal) and Y (vertical) axis represents the values of the 2 

variables. It is really useful to study the relationship between both variables. It is common to provide even more information using colors or shapes (to show groups, or a third variable). It is also

possible to map another variable to the size of each dot, what makes a bubble plot. If you have many dots and struggle with overplotting, consider using 2D density plot.

Input format

Format 1: 2 numerical variables

Format 1: 2 numerical variables AND 1 categorical.

 

Seaborn

Matplotlib

Bad Chart

related