Task9_Question1
✓ Published0🌍 Public
A pie chart visualizes the distribution of patient counts by race, with each slice labeled directly and accompanied by a color-coded legend. The chart loads CSV data from a GitHub gist and uses D3 v7 APIs including `d3.rollup` to aggregate counts, `d3.pie` for layout, `d3.arc` for slice geometry, and `scaleOrdinal` with `schemeCategory10` for colors. Labels are positioned using `arcGenerator.centroid`, and the SVG rendering is centered within a 400×400 canvas.
AI-generated descriptionA demonstration of Pie chart.
MIT Licensed