Scatter plots are used to represent the relationship between feature variable and target variable while target variable is plotted on X-axis and feature variable on Y-axis.
Scatter plots define correlation between two variables.
Here, I am using JupyterLab IDE.
import pandas as pd
%matplotlib inline
#Reading dataframe
df = pd.read_csv(“/filepath/diabetes.csv”)
df.plot(kind = “scatter”, x= “BMI”, y= “Age”)

Link to the dataset I have used — diabetes.csv
Thanks for reading. Have a good day :)