Viewing a saved revision (read-only)
821cc4179c6546909a26ce7dc6407eae
Heart-failure-prediction Scatter Plot
This scatter plot visualizes the relationship between age and maximum heart rate for individuals in a heart failure prediction dataset from Kaggle. Each circle represents a person, positioned by age on the x-axis and MaxHR on the y-axis, with most data points clustered between ages 40 and 70. The visualization uses d3.scaleLinear for axes and d3.scaleOrdinal for categorical coloring, with semi-transparent circles (opacity 0.6) revealing overplotting density in darker overlapping regions. Outliers with unusually high or low heart rates for their age appear scattered throughout the plot.
AI-generated descriptionA scatter plot with D3 showing the heart-failure-prediction
The plot shows a wide distribution of maximum heart rates across different ages. Axes:
- The x-axis represents 'Age' in years.
- The y-axis represents 'MaxHR' (Maximum Heart Rate) in beats per minute (bpm).