Converts a rendered Observable Plot chart and hands it to MAIDR.
Writes the schema to the chart's <svg> as a maidr-data attribute and
fires maidr:bindchart, which is how MAIDR's runtime picks up a chart bound
after its initial scan. Call it after Plot.plot() has returned — the
element has to be in the document, and drawn, before it can be read.
Parameters
element: Element
The element Plot.plot() returned, or any element of it.
Converts a rendered Observable Plot chart and hands it to MAIDR.
Writes the schema to the chart's
<svg>as amaidr-dataattribute and firesmaidr:bindchart, which is how MAIDR's runtime picks up a chart bound after its initial scan. Call it afterPlot.plot()has returned — the element has to be in the document, and drawn, before it can be read.