{"version":"1.0","type":"rich","title":"Bowl of fruit general update pattern","description":"This example demonstrates the general update pattern in D3 by animating a bowl of fruit through a sequence of changes: removing apples, replacing one with a lemon, and adding a grapefruit. The visualization uses a React-based D3 v5 setup with SVG elements for the bowl, fruit circles, and labels. The code employs `scaleOrdinal` for color and radius mapping, along with `transition().duration(1000)` to smoothly animate updates when the `fruits` array changes via `setTimeout` calls.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7325e335e23043b7a15b184cfd15c478?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}