{"version":"1.0","type":"rich","title":"Parent and iFrame","description":"This example demonstrates two-way communication between a parent window and a child iframe using the postMessage API. The parent sends user-typed messages to the iframe, while the iframe sends messages back that appear in the parent’s message area. It uses standard browser APIs, including `window.postMessage` and event listeners for the `message` event. The parent embeds a fully functional VizHub visualization as the iframe, sourced from a separate URL.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/13eb63bc3e2a48f9a118671f2fc52980?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}