{"version":"1.0","type":"rich","title":"practice10--click","description":"This example shows a fruit bowl visualization where apples and lemons are rendered as colored circles, and clicking a fruit highlights it with a black stroke while updating a selection state. The code uses D3.js v5 with a data join pattern to bind fruit objects to SVG circles, applying ordinal scales for color and radius, and transitions to animate circles entering, exiting, and changing size. A timer sequence removes apples, replaces one with a lemon, and filters data to demonstrate dynamic updates. The interaction and rendering rely on `d3.select`, `scaleOrdinal`, and `transition` APIs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5eace1d47b4f43f480073c5c02c748b2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}