{"version":"1.0","type":"rich","title":"Selection.join example w/ animation","description":"This example shows a live comparison of a dataset, shifting between the words \"text\" and \"test\" via a dropdown. It demonstrates the D3 `selection.join` API for animating changes to a list of letters, with enter, update, and exit transitions. Each random set of letters is rendered as SVG text elements, positioned horizontally and animated vertically. The code uses `d3.select`, `d3.shuffle`, and `d3.interval` to generate data and transitions, while the `transition` method handles the 750ms movement of entering, updating, and exiting nodes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e34dcd8a33764860b29b9dbf818e1e29?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}