{"version":"1.0","type":"rich","title":"D3 Selections - Exercise","description":"This example demonstrates D3 selections and data joins by rendering a dynamic set of colored circles on an SVG canvas. The code generates data with `makeData`, producing evenly spaced circles with vertical sine-wave positioning, then binds it to the visualization using `selectAll` and the `.join()` pattern. Each circle receives random radius, fill color, and positioning attributes through D3’s selection API. The visualization relies on D3 7.8.0 and React, with the `vizData` function handling the enter-merge-update cycle for the circle elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/212baada1fc24dc0aa8a61ab708ed67f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}