{"version":"1.0","type":"rich","title":"cake formation with 2 layers","description":"This example uses D3.js v5 to draw a two-layer cake with decorative elements. The visualization shows a bottom and top cake tier, five candles with flames, a knife, three balloons, and ten randomly placed sprinkles. The code builds the scene by appending SVG shapes directly to the document, using `d3.select()` for DOM manipulation and `selectAll().data().enter()` for iterative creation of repetitive elements like candles and sprinkles, with randomized positioning for the latter.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dffcb27cd53f42c88c6ba96e02c5fb8f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}