Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus - Heart Disease Dataset

Public visualization

Fork of Scatter Plot with Menus - Heart Disease Dataset

0 stars0🌍 Public
RRyanYun0017
Last edited Oct 7, 2021
Created on Oct 6, 2021

This scatter plot visualizes heart disease patient data from the UCI dataset, mapping age against maximum heart rate achieved. Users can dynamically change both axes via dropdown menus, selecting from quantitative variables like resting blood pressure or categorical options like patient sex. Built with D3 v6, the visualization uses `scaleLinear` and `scalePoint` for axis scaling, with smooth transitions animating circle positions and radii. The plot renders as SVG, with circles colored by patient sex (red for female, blue for male) and axis updates triggered through custom menu components dispatching change events.

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.

Comments

Sign in to join the discussion.

MIT Licensed