{"version":"1.0","type":"rich","title":"Bowl of Fruit - Adding Fruit Labels (3)","description":"This example demonstrates a data join updating a bowl of fruit, with apples and lemons represented as colored circles with labels. The visualization uses D3 v5’s general update pattern, calling `selection.enter()`, `merge()`, and `exit().remove()` to handle dynamic changes. Initialized with five apples, the render function uses `scaleOrdinal` for color and radius scales, then updates over time: removing the last fruit, changing one apple to a lemon, and filtering out another by index. SVG elements—a bowl `rect` and grouped `circle` and `text` elements—are rendered and repositioned via transform attributes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2d9888d2698b49a2ad9298d7abf8367a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}