Activity7_Q1
This pie chart displays the proportional sales distribution across five product categories—Electronics, Clothing, Groceries, Furniture, and Stationery—using a static inline dataset. Each slice is colored via a d3.scaleOrdinal with the d3.schemeSet2 palette, and labels are positioned using the arc centroid. The visualization is rendered as SVG through D3 v7, with slices drawn by d3.arc, pie layout generated by d3.pie, and a legend constructed from appended rectangles and text elements.