🌍 Public
Viewing a saved revision (read-only)
4906eebb1ffd464aaf485ed0c9d22e65
1Activity 9&1
This pie chart visualizes the Diabetes dataset, showing the distribution of the Pregnancies attribute for each record. It renders as an SVG using D3.js v6, with slices colored via `d3.scaleOrdinal` and `d3.schemeCategory10`, and arc paths generated from `d3.pie` and `d3.arc`. The code loads data from a remote CSV via `d3.csv`, and labels each slice with the corresponding Pregnancies value.
AI-generated descriptionISC Licensed