{"version":"1.0","type":"rich","title":"Fork of Template Enter, exit and update","description":"An SVG visualization demonstrates enter, update, and exit states for circle elements using D3’s selection API. It begins with six circles drawn horizontally, initially colored black based on a `scaleOrdinal` mapping. The code shows how newly created data objects receive attributes through chained `.data().enter()`, while subsequent selection updates fill colors, and `.exit().remove()` deletes elements. The example relies on D3 v7’s declarative selection methods with explicit data-driven updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/72d1c4e685054a3cb2fa1c86c121c4a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}