🌍 Public
Viewing a saved revision (read-only)
6aab2c6cfa4c4d6b914476c7e3bd3b69
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 descriptionDiabetes Dataset Visualization
This project visualizes the Diabetes dataset using a pie chart with D3.js.
Setup
Clone the repository and run a local server to view the visualization.