{"version":"1.0","type":"rich","title":"Bowl of Fruit General Update PAttern","description":"This example demonstrates the D3 general update pattern using a bowl of fruit that changes over time. Apples and lemons are rendered as color-coded circles with labels, and the visualization shows how fruits are added, removed, or replaced when timeouts trigger state changes. The code uses D3 v5 with `scaleOrdinal` for color and radius mapping, and applies the enter, update, and exit selections to manage SVG elements dynamically. The bowl is drawn as a rounded rectangle, and each fruit updates its position based on array index.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6b751a59d8d447efa0e0283c58ad7761?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}