{"version":"1.0","type":"rich","title":"Untitled","description":"A bowl of fruit demonstrates the general update pattern for SVG groups in D3 version 6. An array of apples renders as green circles with labels, then a series of timed browser callbacks removes items, replaces an apple with a yellow lemon, and filters the array, showing how enter, update, and exit transitions handle each change. The code uses `selection.selectAll`, `groups.enter()`, and `.merge()` from the `d3` module, with `scaleOrdinal` mapping fruit types to colors and radii.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/53233e5997b0427890b5652df034e5ea?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}