Skip to main content
100%

Diabetes Self-Management Practices Pie Chart

✓ Published2🌍 Public
Oomniaabouhassan@gmail.com
Last edited Sep 26, 2024
Created on Sep 25, 2024

This pie chart shows the distribution of five diabetes self-management practices—diet, exercise, medication, monitoring, and education—with each slice labeled by its percentage of the total. The visualization uses a donut-style arc layout with hover interactions that display the practice name, raw value, and percentage in a tooltip. It is built with D3’s `pie`, `arc`, and `scaleOrdinal` functions, rendering SVG paths and a legend. The sample data is hardcoded in the script, and the chart adapts its radius to the container’s dimensions.

AI-generated description

This project visualizes the distribution of various self-management practices for diabetes using a pie chart. The chart provides an intuitive way to understand how different practices contribute to diabetes management, emphasizing the importance of diet, exercise, medication, monitoring, and education.

MIT Licensed

Similar vizzes