Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

1Activity 9&1

Public visualization

Viewing a saved revision (read-only)

6aab2c6cfa4c4d6b914476c7e3bd3b69

1Activity 9&1

0 stars0🌍 Public
Ssumanthnaidu213@gmail.com
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Task8

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 description

Diabetes 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.