{"version":"1.0","type":"rich","title":"Bowl of fruit","description":"This example demonstrates how D3 data joins manage the lifecycle of DOM elements. It shows a bowl of fruits where apples change into lemons, are removed, or disappear entirely, with each fruit rendered as a circle and label. The visualization uses D3 v5’s `selectAll`, `data`, and explicit `enter`, `update`, and `exit` handlers to add, modify, or delete SVG elements based on changing array data. Color and radius are mapped via `scaleOrdinal` based on fruit type.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2d9519f6efa04cb3a5f5679c3e675a18?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}