{"version":"1.0","type":"rich","title":"D3 Selection Exploration","description":"This example demonstrates D3’s selection and data-join mechanics by continuously generating a changing set of circles. A `setInterval` updates the data array, whose length and positions vary with a sine wave, and the `svg.selectAll('circle').data(data).join('circle')` pattern creates or removes circles to match. The code uses D3 v7’s `select` and `range` functions, renders as an SVG animation, and updates element attributes (`cx`, `cy`, `r`) every 10 milliseconds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c24e02a1c96e4020b56f87a500c1751d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}