{"version":"1.0","type":"rich","title":"Apple project","description":"This example demonstrates dynamic updates to a D3.js visualization using data joins. A row of five red apples is initially rendered as SVG circles, then the data array is modified over time: one fruit is removed, one apple changes to a lemon (gray and smaller), and another apple is deleted. The code uses `selection.data()`, `.enter()`, `.merge()`, and `.exit()` to handle these changes, with `scaleOrdinal` mapping fruit types to colors and radii. The visualization is rendered as SVG and driven by `setTimeout` callbacks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4108e981c7a440a3a1fea9c39a0298d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}