{"version":"1.0","type":"rich","title":"Bowl of Fruit - Click events with D3.js!","description":"An interactive bowl of fruit visualizes how D3.js handles click events and dynamic data updates. The SVG scene renders apples and lemons as colored circles, with a black stroke highlighting the currently selected fruit. Clicking any circle triggers a callback that updates the selection state and redraws the visualization. The code uses `selection.enter()`, `merge()`, and `exit()` to manage data joins, while `transition().duration(1000)` animates circle positions and radii. Data changes occur through scheduled `setTimeout` calls that remove items or change fruit types, demonstrating React and D3 integration.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/02bfc36952fc4daabb73658c16578ee1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}