{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"A bowl of five apples appears as circles, then shrinks and disappears as one is eaten. A middle apple’s fill and radius transition from red to yellow as it becomes a lemon, demonstrating the general update pattern with enter, update, and exit selections. The example uses D3 v5’s `selection.merge`, `transition.attr`, and ordinal `scaleOrdinal` for colors and radii, with SVG circles redistributing horizontally via a computed `cx` position. Data updates are triggered by `setTimeout` after initial rendering from a `range(5)` array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c6b2594f3ef94069a0fadc7c762240ed?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}