{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern with special cases in D3 v5, showing a bowl of fruit that changes over time: apples are eaten, removed, or replaced by lemons. It uses `d3.scaleOrdinal` for color and radius mapping, and SVG circles and text elements rendered within groups. The update flow handles entering, updating, and exiting elements via `selection.enter()`, `merge()`, and `exit().remove()`, with data-driven transforms positioning each fruit. A rectangular bowl shape persists throughout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f6c55c0b79914cb2a60ffb728ee6ace0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}