{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern for D3.js visualizations, specifically handling special cases of data addition, removal, and modification. It displays a bowl of fruit where apples and lemons are represented as colored circles with labels, and the visualization updates dynamically over time. The code uses D3’s selection merging and exit/enter methods to handle state changes, such as when an apple is eaten, replaced by a lemon, or removed from the middle. The fruit data is hardcoded in JavaScript, and the scene is rendered as an SVG canvas with a static bowl rectangle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d69467b3651485e9d8a306c48ba759e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}