Applies the generated MAIDR schema to the SVG as a maidr-data attribute,
unless opted out via autoApply: false. This removes the boilerplate
svg.setAttribute('maidr-data', JSON.stringify(result.maidr)) call for
vanilla-JS users, while staying out of the way of the React adapter
(which passes autoApply: false and hands the schema straight to
<Maidr> / <MaidrD3>).
Applies the generated MAIDR schema to the SVG as a
maidr-dataattribute, unless opted out viaautoApply: false. This removes the boilerplatesvg.setAttribute('maidr-data', JSON.stringify(result.maidr))call for vanilla-JS users, while staying out of the way of the React adapter (which passesautoApply: falseand hands the schema straight to<Maidr>/<MaidrD3>).