Skip to main content
100%

Prototype 3, interactivity increment

✓ Published0🌍 Public
AAbhi Yammanuru
Last edited Oct 28, 2025
Created on Oct 28, 2025
Forked from Prototype 3

This interactive boxplot visualization compares the distribution of health metrics for male and female patients, with a dropdown menu to switch between Resting BP, Cholesterol, Max HR, Age, and Oldpeak. Hovering over a boxplot dims the other group to facilitate comparison. Built with React and D3 v7, the visualization uses `scaleBand` and `scaleLinear` to compute quartiles, whiskers, and medians from the heart disease dataset. The interactivity is managed through React state for the selected metric and hovered sex, with D3 used for rendering the SVG axes and geometric elements.

AI-generated description
MIT Licensed

Similar vizzes