{"version":"1.0","type":"rich","title":"D3 selection examples","description":"This example demonstrates dynamic selection and updating of SVG circles using D3's modern `select` and `join` APIs. Fifteen circles animate horizontally across the window, with their vertical positions following a sine wave that shifts over time. The code uses `d3.select` to target the body, `d3.range` to generate data, and the `.join()` method to handle enter, update, and exit selections for circle elements, updating every frame via `setInterval`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c5b28a183a5d4ce3aafe0fb91c128a85?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}