Reusable Scatter Plot of Heart Disease Dataset
This interactive scatter plot visualizes the Heart Disease UCI dataset from Kaggle, mapping patient age on the x-axis and maximum heart rate achieved on the y-axis, with points colored by sex (red for female, blue for male). Built with D3.js, the visualization uses a reusable scatter plot module that supports dynamic axis updates, animating through different x-axis attributes (age, thalach, restecg) every two seconds using `setInterval` and `transition().duration(1000)`. The SVG renders axes via `axisLeft` and `axisBottom`, with data loaded asynchronously via `csv`.
AI-generated descriptionThe original dataset comes from Kaggle Dataset: Heart Disease UCI
This visualization shows The Github Gist: Heart Disease UCI
The XAxis represents the age of a certain patient The YAxis represents the maximum heart rate achieved.