{"version":"1.0","type":"rich","title":"Fork of Hello VizHub","description":"This example shows a pie chart with a legend, displaying the quantities of four fruits. It loads D3 via UNPKG and uses local ES6 module imports. The visualization uses `d3.pie` and `d3.arc` to generate and render the slices, with `d3.scaleOrdinal` for categorical colors. It appends an SVG to the body, positions the pie in the center, and adds text labels using the arc centroid. A separate legend group is built with rectangles and text, anchored to the right side of the SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/32dc381763354ddda3f5d79e4dfba674?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}