Skip to main content
100%

Fork of Chest pain type vs count Bar Chart

✓ Published0🌍 Public
NNanditha Reddy
Last edited Mar 19, 2024
Created on Mar 18, 2024

This grouped bar chart visualizes the distribution of chest pain types by gender, using data from the Heart Failure Prediction dataset. The visualization employs D3 v7 with React, encoding chest pain type on the x-axis and count on the y-axis, with gender represented through grouped bars colored steelblue for male and pink for female. The chart includes a light gray inner plot area, axis labels, a legend, and interactive tooltips that highlight bars orange with a yellow stroke on hover. Animated transitions enhance the user experience, while the legend and labeled axes make the comparison of gender distribution across different chest pain categories clear and accessible.

AI-generated description

A Bar graph with D3 heart-failure-prediction

MIT Licensed

Similar vizzes