Skip to main content
100%

Reusable Scatter Plot of Heart Disease Dataset

✓ Published0🌍 Public
RRyanYun0017
Last edited Oct 7, 2021
Created on Oct 6, 2021

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 description

The 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.

MIT Licensed

Similar vizzes