Creates an iframe element with base64-encoded src containing the complete MAIDR plot. Uses data URI with base64 encoding to avoid quote escaping issues with JSON. This isolates each plot in its own document/JavaScript context.
create_maidr_iframe(
svg_content,
width = "100%",
height = "450px",
plot_id = NULL
)Character string of iframe HTML
Character vector of SVG content with maidr-data attribute
Width of the iframe (default: "100%")
Height of the iframe (default: "450px")
Unique identifier for the plot