{"version":"1.0","type":"rich","title":"Bowl of fruit general update pattern","description":"A bowl of fruit demonstrates D3's general update pattern with three apple and lemon circles transitioning in size and position over four seconds. The animation shows an apple disappearing, a lemon being swapped in, and a second apple being removed, with all circles smoothly resizing via `transition().duration(1000)`. The code uses D3 v5's `scaleOrdinal` for color and radius mapping, `selectAll('circle').data()` for data binding, and `enter()`, `merge()`, and `exit()` to handle state changes, rendering as SVG with hardcoded fruit objects generated via `range(5).map()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e644f49b97bf49c082d14a50b80bef4c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}