{"version":"1.0","type":"rich","title":"Fork of Template Enter, exit and update","description":"A D3.js animation demonstrates how enter, update, and exit selections handle changing data. Six blue circles appear in a row, then one circle is removed after two seconds, and the first remaining circle turns red after four seconds. The code uses `selection.selectAll`, `.data()`, `.enter()`, `.exit()`, and `.transition()` from D3 v7, with `scaleOrdinal` mapping types to colors. SVG elements are rendered and animated directly on a blank canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1d41b6119a944659a397192e3441e2d8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}