{"version":"1.0","type":"rich","title":"Donut Example Re-imagined 2 Final Week","description":"This example shows an interactive pie chart built with React and D3 v5 that visualizes firearm, suicide, and alcohol-related death data from a CSV file. The chart displays a semi-circular arc for the mouth, while the pie slices represent data grouped by sex, with distinct colors from the `d3.schemeCategory10` palette. The code uses `d3.pie()` for the arc generation and `d3.arc()` for rendering, with a button to trigger data transformations. The visualization runs entirely in SVG, with data loaded asynchronously via `d3.csv` and rendered through React hooks and the D3 selection API.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4d0aaa4669ea4c6ba584768bf9e2da2a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}