{"version":"1.0","type":"rich","title":"Pie Chart","description":"This example shows a basic pie chart of `basic_cost` values by country, using a Tableau10 color scale for each slice and text labels positioned at the arc centroids. The chart is rendered as an SVG within a 500×500 pixel container, with data loaded from a CSV hosted in a GitHub gist. Built with D3 v7, it creates the pie geometry with `d3.pie()` and `d3.arc()`, applies colors via `d3.scaleOrdinal`, and uses `d3.select` to set up the SVG group. The data parsing makes `basic_cost` numeric before generating the arcs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f917bfbbecf84f3abe530875674f51c8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}