Pima Indians Diabetes Dataset (Scatter Plot Improved)
This scatter plot visualizes the Pima Indians Diabetes Dataset, showing the relationship between Body Mass Index (BMI) and Plasma Glucose Concentration, with points colored blue for non-diabetic (0) and red for diabetic (1) outcomes. The visualization filters out non-physiological zero values for BMI and glucose before plotting. Implemented using D3 v7, the code employs `scaleLinear` for both axes, `scaleOrdinal` for categorical coloring, and `axisBottom`/`axisLeft` for tick marks, with data loaded asynchronously from a local CSV file.
AI-generated descriptionPima Indians Diabetes Dataset: This dataset is derived from the National Institute of Diabetes and Digestive and Kidney Diseases and is commonly used for binary classification tasks in machine learning. It contains diagnostic measurements from a group of Pima Indian women to predict the onset of diabetes.
Source URL: https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database
Attribute Descriptions Pregnancies: Quantitative (Number of times pregnant).
Glucose: Quantitative (Plasma glucose concentration).
BloodPressure: Quantitative (Diastolic blood pressure).
SkinThickness: Quantitative (Triceps skin fold thickness).
Insulin: Quantitative (2-hour serum insulin).
BMI: Quantitative (Body Mass Index).
DiabetesPedigreeFunction: Quantitative (A function that scores the likelihood of diabetes based on family history).
Age: Quantitative (Age in years).
Outcome: Categorical (0 = non-diabetic, 1 = diabetic).