{"version":"1.0","type":"rich","title":"D3 Starter - General update pattern","description":"Five fruit circles render as apples in an SVG created with D3 v6. A function called `render` demonstrates the general update pattern by joining data to circles with `selectAll` and `data`, then handling enter, update, and exit selections. The code uses `scaleOrdinal` for color and radius based on fruit type, and `merge` to apply shared attributes. After one second, a fruit is removed; after two, an apple becomes a lemon, showing transitioned states.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/614f746cccfb4c8692c06e454d391efb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}