{"version":"1.0","type":"rich","title":"Enter, Update, Exit","description":"Four bars in a static HTML layout demonstrate a D3 data join, showing how elements enter, update, and exit based on an array of heights. Using `d3.select` and `selection.data`, the code binds the values `[100, 200, 300, 400]` to existing `.bar` divs, then applies inline styles for height and vertical margin to position them. The example also includes a separate SVG mask with a circle and horizontal rectangles, though it does not interact with the bars. This is a minimal v3-era reproduction using the D3 7.8.2 library.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/128885e9926049dabfb0cb5a5a48615c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}