{"version":"1.0","type":"rich","title":"Test","description":"This example demonstrates data binding in D3 v5, where a simple list of numbers is rendered as SVG text labels. Clicking the SVG triggers an update that doubles each value, showcasing the enter, update, and exit pattern through `d3.select` and the `data()` join. The visualization uses `selectAll(\"text\")` to bind the array to existing elements, appends new text nodes on enter, repositions them with an `attr(\"x\")` callback, and removes extras via `exit().remove()`. The initial data `[1,2,3]` is hard-coded and rendered within an SVG of fixed dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1f6ff342b5084bcf96e62a4e334dfcd4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}