{"version":"1.0","type":"rich","title":"Pie chart","description":"This pie chart visualizes the distribution of iris flower species from a remote CSV dataset, with each species represented as a colored slice and a matching legend. Built with D3 v6, the example uses the `pie` generator, `arc` generator, `scaleOrdinal`, and `schemeCategory10` to create the chart, while `svg` selections handle rendering. The code also demonstrates a reusable `pieChart` module with chained getter-setter methods, and the legend is drawn manually using appended `g` elements with rectangles and text labels, all styled with custom CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/97026af94b5942999ee7bd4b8598cd4a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}