Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 5 - Prototype 1

Public visualization

Viewing a saved revision (read-only)

87a04b47518441c486a65a1325bc42b3

Assignment 5 - Prototype 1

0 stars1🌍 Public
AAbhi Yammanuru
Last edited Sep 29, 2025
Created on Sep 22, 2025
Forked from Assignment 4

This visualization shows the relationship between patient sex and resting heart rate, displaying the average maximum heart rate for each sex as colored bars. A bar chart is used, with pink bars representing female patients and steelblue bars representing male patients. The data comes from a CSV file loaded via `d3.csv`, and the visualization is built using React with D3 v7, leveraging `d3.scaleBand`, `d3.scaleLinear`, and `d3.group` to aggregate and scale the data before rendering.

AI-generated description