{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern with a bowl of fruit rendered as SVG circles. Apples and lemons are distinguished by color and radius using `scaleOrdinal`, while animated transitions adjust circle positions and sizes over one second. The code explicitly manages enter, update, and exit selections, shrinking removed fruit to zero radius via `transition.attr('r', 0)` and `.remove()`. Data mutations—deleting an apple, changing one to a lemon, and filtering another—occur at timed intervals, showing how the visualization responds to changing data through D3 v5's data join.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d96766f3cb6e4d3fa6b7dd45de17626e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}