{"version":"1.0","type":"rich","title":"Data join and Transition","description":"This example demonstrates a data join and transition animation in D3 v5, where a set of circles representing fruits is dynamically updated. The visualization shows how the `selectAll` and `data` (with a custom key function) methods manage entering, updating, and exiting elements—new apples grow from a radius of zero, a lemon changes color and size, and a removed fruit shrinks away. The code uses D3's `scaleOrdinal` for color and radius mappings and leverages the `transition` API for smooth, 1000-millisecond animations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/00bb6e25fe8e4521ab90bdb531321ae7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}