{"version":"1.0","type":"rich","title":"D3 Selection Exploration - Exercise","description":"This example demonstrates D3's data-join and selection methods through an animated scatterplot of circles and vertical lines. The visualization continuously updates as `d3.range` generates new data points, with circles and lines re-rendered every frame. The code uses `selection.data().join()` for enter, update, and exit handling, alongside `selection.call()` for reusable visualization logic. Randomly colored circles refresh twice per second, while the underlying sine-wave pattern animates smoothly via `setInterval`. The SVG canvas spans the full window, with black-stroked circles connected to green lines.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0476c284c2814152ae5b52c3c011f85d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}