{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"Five colored apples sit in a row inside an SVG, then transform through a sequence of update operations: one apple disappears, another changes to a lemon, and a third is removed. This demonstrates the D3 general update pattern, where data joins drive enter, update, and exit selections. The code uses `scaleOrdinal` for color and radius, `selection.merge()`, and `transition().duration(1000)` to animate changes smoothly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5a38515f53734b2cbfdd09260e43656b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}