{"version":"1.0","type":"rich","title":"D3 selection exploration","description":"This example demonstrates how D3’s data join and selection mechanism dynamically updates an SVG scene in real time. An animated set of circles shifts vertically based on a sine wave, with their count oscillating between five and fifteen as time progresses. The code uses `d3.select`, `d3.range`, and `.join('circle')` to bind incoming data to SVG elements, updating positions each frame via `setInterval`. Data is generated procedurally from a mathematical function rather than an external dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8ddc926b1c8a4b53aee086e9eef849af?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}