This 3D scatter plot explores the relationship between Age, Sleep Duration, and Quality of Sleep, with points colored by Gender.
We can see that:
Younger individuals tend to have longer sleep durations and higher sleep quality, shown by the clustering of higher points among lower age values.
As age increases, both sleep duration and sleep quality tend to decrease, though this trend varies slightly between genders.
Males and females show overlapping distributions, but there are slight differences—females appear to maintain somewhat higher sleep quality for a given sleep duration.
The 3D layout makes it easier to see how these variables interact together, showing that age and sleep duration jointly influence overall sleep quality.
Overall, this plot highlights that sleep quality declines with age and that sleep duration is a strong factor in maintaining good sleep health.