Pie plot house pricing
This pie chart visualizes the distribution of patient conditions from the Heart Disease UCI dataset. It shows the proportional share of each condition category, with a legend displaying each condition’s name and percentage. The code loads CSV data via `d3.csv`, aggregates condition counts, and computes percentages. Using D3 v6, it generates an SVG pie chart with `d3.pie()` and `d3.arc()`, applies `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and appends a title and interactive legend.