Viewing a saved revision (read-only)
a7nM0CF7RNAW_D7TTCSLM
Mmunashe gwenzi
Last edited Nov 11, 2026
Created on Nov 11, 2026
Created from react-d3-starter template
Diabetes Health Indicators Visualization
Interactive visualization exploring relationships between diabetes and various health/lifestyle factors.
Dataset Documentation
diabetes_health_indicators_vizhub_sample.csv
- Rows: 9,000
- Columns: 22
- Subject: Survey responses related to diabetes and health indicators
Column Descriptions
| Column | Data Type | Missing Values | Cardinality | Range/Mean | Classification | Description |
|---|---|---|---|---|---|---|
| Diabetes_012 | Number | 0 | 3 | 0-2, mean: 0.516 | Ordinal | Diabetes status (0=No, 1=Prediabetes, 2=Diabetes) |
| HighBP | Number | 0 | 2 | 0-1, mean: 0.498 | Nominal | High blood pressure (0=No, 1=Yes) |
| HighChol | Number | 0 | 2 | 0-1, mean: 0.476 | Nominal | High cholesterol (0=No, 1=Yes) |
| CholCheck | Number | 0 | 2 | 0-1, mean: 0.977 | Nominal | Cholesterol check in past 5 years (0=No, 1=Yes) |
| BMI | Number | 0 | 43 | 15-87, mean: 28.981 | Quantitative | Body Mass Index |
| Smoker | Number | 0 | 2 | 0-1, mean: 0.472 | Nominal | Smoked at least 100 cigarettes (0=No, 1=Yes) |
| Stroke | Number | 0 | 2 | 0-1, mean: 0.048 | Nominal | Ever had stroke (0=No, 1=Yes) |
| HeartDiseaseorAttack | Number | 0 | 2 | 0-1, mean: 0.114 | Nominal | Coronary heart disease/angina/heart attack |
| PhysActivity | Number | 0 | 2 | 0-1, mean: 0.716 | Nominal | Physical activity in past 30 days (0=No, 1=Yes) |
| Fruits | Number | 0 | 2 | 0-1, mean: 0.622 | Nominal | Consume fruit 1+ times per day (0=No, 1=Yes) |
| Veggies | Number | 0 | 2 | 0-1, mean: 0.8 | Nominal | Consume vegetables 1+ times per day (0=No, 1=Yes) |
| HvyAlcoholConsump | Number | 0 | 2 | 0-1, mean: 0.056 | Nominal | Heavy alcohol consumption (0=No, 1=Yes) |
| AnyHealthcare | Number | 0 | 2 | 0-1, mean: 0.952 | Nominal | Any kind of healthcare coverage (0=No, 1=Yes) |
| NoDocbcCost | Number | 0 | 2 | 0-1, mean: 0.079 | Nominal | Couldn't see doctor due to cost (0=No, 1=Yes) |
| GenHlth | Number | 0 | 5 | 1-5, mean: 2.636 | Ordinal | General health rating (1=Excellent, 5=Poor) |
| MentHlth | Number | 0 | 20 | 0-30, mean: 3.519 | Quantitative | Days of poor mental health in past 30 days |
| PhysHlth | Number | 0 | 23 | 0-30, mean: 4.66 | Quantitative | Days of poor physical health in past 30 days |
| DiffWalk | Number | 0 | 2 | 0-1, mean: 0.199 | Nominal | Difficulty walking (0=No, 1=Yes) |
| Sex | Number | 0 | 2 | 0-1, mean: 0.426 | Nominal | Gender (0=Female, 1=Male) |
| Age | Number | 0 | 13 | 1-13, mean: 8.333 | Ordinal | Age group (1=18-24, 13=75+) |
| Education | Number | 0 | 5 | 2-6, mean: 5.002 | Ordinal | Education level (1=Never attended, 6=College graduate) |
| Income | Number | 0 | 8 | 1-8, mean: 5.786 | Ordinal | Income scale (1=Less than $10k, 8=$75k+) |
Data Notes
All values are numeric codes representing categorical or ordinal values. The dataset appears to be survey responses with binary indicators (0/1) for yes/no questions and ordinal scales for ratings.
Visualization Mapping
For our visualization:
- Type: Scatterplot matrix with brushing
- Fields:
- X-axis: BMI (Quantitative)
- Y-axis: Age (Ordinal)
- Color: Diabetes_012 (Ordinal)
- Size: PhysHlth (Quantitative)
- Encodings:
- Position (X/Y) for BMI and Age
- Color for diabetes status
- Size for physical health days
- Interactions: Brushing to highlight subsets of data
Relationships & Join Keys
This project contains only one dataset, so there are no join relationships to consider.