{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"A bowl of fruit demonstrates the general update pattern special cases as apples are eaten and replaced with lemons over time. The SVG visualization uses d3 data joins to handle entering, updating, and exiting elements, with d3.scaleOrdinal mapping fruit types to colors and radii. The code imports scaleOrdinal and select from d3 v5, binding fruit data to groups that contain circles and text labels, while timeout-driven mutations trigger re-renders. The bowl is rendered as a rounded rectangle, and clicking a fruit logs to the console.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/19143d88e03849fda758b2da4e1f0231?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}