{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern - no transitions","description":"This example demonstrates the general update pattern in D3 by animating a bowl of fruit through a sequence of state changes: buying five apples, eating one, replacing an apple with a lemon, and removing another apple. The visualization uses SVG rendering with D3 v5, where the `fruitBowl` function manages the enter, update, and exit phases for circle and text elements. The code leverages D3's `scaleOrdinal` for color and radius mappings, while sequential `setTimeout` calls drive the data mutations and trigger re-renders without any transition animations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6b39f3c06bae411898fa09ca4d75ec98?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}