{"version":"1.0","type":"rich","title":"Pie Chart","description":"A pie chart displays the average calories burned for each workout type—Cardio, HIIT, Strength, and Yoga—based on data from lifestyle.csv. The code uses D3 v7’s `d3.csv`, `d3.rollup`, and `d3.mean` to aggregate the data, then `d3.pie` and `d3.arc` to generate the SVG paths. A categorical color scale with `d3.schemeSet2` colors each segment, and labels are placed using `arc.centroid`. A legend is appended manually using D3 selections.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f96d3946be38445e8be41a2767ae141a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}