{"version":"1.0","type":"rich","title":"Bowl of Fruit: Nested Elements with Transitions","description":"Five apples enter a bowl as circles with a smooth transition, then shrink and disappear as the fruit is eaten, while one apple turns into a lemon and changes color and size. The d3.v5 code uses a data join with enter, update, and exit selections, nesting circles and text inside groups. Transitions animate radius changes, and exit transitions shrink circles before removal, with scaleOrdinal mapping fruit types to colors and radii.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e2dd3981c4e43689347c79d20429c85?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}