{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern No Animation","description":"This example demonstrates the general update pattern in D3, showing how data joins handle entering, updating, and exiting elements. A bowl of fruit rendered as SVG circles and text labels changes over time—an apple disappears, one apple turns into a lemon, and another apple is removed—without animation. The code uses `selection.data()`, `selection.enter()`, `selection.exit()`, and `.merge()` from d3.v6 within a React framework, with `scaleOrdinal` mapping fruit types to colors and radii. The static updates run via `setTimeout` calls, highlighting the distinction between enter, update, and exit selections.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d75a348d32b54c4a95d6c6688fe888a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}