{"version":"1.0","type":"rich","title":"Pie Chart","description":"This example visualizes rating distributions as a pie chart, where each slice represents a categorical rating (such as \"AAA Local\" or \"BBB- Internacional\") with its corresponding percentage value. The chart reads input data from a JSON file and displays each category with a color-coded slice, accompanied by a legend on the right listing the label and exact percentage. Built with D3 v5, the code uses the `pie` layout generator to compute arc segments, `arc` for rendering paths, and `scaleOrdinal` for categorical color assignment. The SVG output is generated using the `select` and `append` API to construct both the pie slices and the legend elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/006e180c737143df8618c2a80a462852?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}