scatter plot dataframe seaborn code example
Example 1: seaborn scatter plot
import seaborn as sns
sns.scatterplot(data=df, x="x_var", y="y_var")
Example 2: scatter plot of a dataframe in python
>>> ax2 = df.plot.scatter(x='length',
... y='width',
... c='species',
... colormap='viridis')