{"version":"1.0","type":"rich","title":"Untitled","description":"This example demonstrates how to build an interactive pie chart using D3 version 6. The chart displays the distribution of bike ride types (classic or electric) within a selected year (2021 or 2022) and user type (casual or member), with data parsed from a hardcoded CSV string via `d3.csvParse`. Users select values from two dropdown menus, triggering the `updateChart` function to filter the data and redraw the SVG using `d3.pie` and `d3.arc`, with text labels placed using `arc.centroid`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b0096b01ad564ceb9413e0c7b602d12f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}