Task9
This pie chart displays the proportional breakdown of a small, simulated fruit dataset, with categories like Apples, Oranges, Pears, and Bananas. Built with D3 version 7, the visualization uses `d3.pie` to compute arc segments and `d3.arc` to render each slice, with a color scale via `d3.scaleOrdinal`. An SVG-based legend with rectangles and text complements the chart, while slice labels (category and value) are placed using arc centroids. The data is entirely made-up, as noted in the code comments.