{"version":"1.0","type":"rich","title":"Bowl of grute, General update pattern","description":"D3.js animates a bowl of fruit where apples and lemons appear, disappear, and change type over time. The general update pattern uses `selection.data`, `enter`, `merge`, and `exit` to handle circles and text labels, with `transition.duration(1000)` scaling radii. A linear scale positions items along the x-axis, while ordinal scales map fruit types to colors and sizes. Random IDs track each fruit through updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0a50eb4c01004c669f1e2897e5d5a1e4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}