text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('/kaggle/input/diabetes-prediction-dataset/diabetes_prediction_dataset.csv')

gender_counts = df['gender'].value_counts()

plt.scatter(df['blood_glucose_level'], df['HbA1c_level'])
plt.xlabel('Blood Glucose Level')
plt.ylabel('HbA1c Level')
plt.title('Scatter Plot of Blood Glucose Level vs HbA1c Level')
plt.show()