{"version":"1.0","type":"rich","title":"bowl of fruit - general update with text and layers","description":"A bowl of fruit demonstrates D3's general update pattern, animating a row of apples and lemons within a blue bowl shape. Circles shrink and disappear, a lemon replaces an apple in place, and remaining fruits shift positions across three timed updates. The code uses `selection.data()`, `merge()`, and `exit()` with `transition().duration()` to coordinate enter, update, and exit layers for both circle radii and text labels. An ordinal color scale maps fruit types to red and yellow fills.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fe9ec119829c41f7aab3f1a71d7d725a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}