{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3.js through a dynamic bowl of fruit. It shows five apples on a bowl-shaped SVG rectangle, then handles special cases: removing the last apple, replacing an apple with a lemon, and filtering out a specific middle apple. The code uses d3.select, data joins with enter/merge/exit, and d3.scaleOrdinal for color and radius mapping. SVG circles and text elements render the fruits, with transitions triggered by setTimeout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e855c4162722476eaabae2307b1c5719?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}