Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie chart

Public visualization

Viewing a saved revision (read-only)

efea2cf8f0324bdc9dc0cce7a567f58a

Pie chart

0 stars2🌍 Public
Bbassansackey@gmail.com
Last edited Apr 1, 2025
Created on Mar 31, 2025
Forked from ScatterPlot

This interactive pie chart shows the distribution of disease types from a CSV dataset, displaying the count and percentage of each category when hovered. Built with React and D3 v5, the visualization uses d3.pie to compute arc segments, d3.arc to generate paths, and d3.scaleOrdinal with schemeCategory10 for coloring. A tooltip appears on mouseover via d3.select, revealing disease name, count, and percentage.

AI-generated description