Skip to main content
100%

Pie chart

✓ Published2🌍 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
MIT Licensed

Similar vizzes