Skip to main content
100%

sathvikaact7_q1piechart

✓ Published0🌍 Public
Ssaisathvikapotluri@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This pie chart visualizes the distribution of diagnoses from a health dataset. It shows the relative count of each diagnosis as segments of a circle. The chart is rendered as an SVG using D3 v7, with a legend to the right. The code loads data from a CSV file via `d3.csv` and computes the counts with `d3.rollups`. It then uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the arcs and colors, with a random color palette.

AI-generated description
MIT Licensed

Similar vizzes