{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern w/ Events","description":"This example demonstrates the general update pattern with event handling using D3 v6, rendering a row of fruit as colored circles with labels inside an SVG bowl. Apples and lemons are distinguished by color and size through ordinal scales, while clicks and mouseovers log the fruit type. The code explicitly manages enter, update, and exit selections, using `selection.merge()` for nested circle and text elements, and triggers timed state changes that add, remove, or replace fruits to show dynamic transitions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/673d78f29097489bb998c6c559f9cd97?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}