🌍 Public
Viewing a saved revision (read-only)
1d68ec9a46ab4e0dbd62b74fc3fc9908
Heart Disease Distribution
This pie chart visualizes the distribution of heart disease presence versus absence in a dataset. It shows only the proportional split between two categories, labeled “Heart Disease” and “No Heart Disease,” with the percentage of each slice displayed directly on the chart. The visualization uses the Chart.js library with its datalabels plugin to render and annotate a Canvas-based pie chart. Data is fetched from a raw CSV file on GitHub, then processed client-side by splitting rows and counting occurrences of “Yes” and “No” values. Tooltips also report percentages on hover.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.