Pure extraction core for the bar family: reads D3-bound data under root
and builds the MAIDR layer, without wrapping it in a figure or touching
maidr-data. Used by bindD3Bar (root = the SVG) and by the
multi-panel binders in binders/subplots.ts (root = one panel element,
with panel scoping the emitted selectors to that panel).
The trailing type selects which mark the layer announces itself as; the
extraction is the same for all four (see BarMarkTraceType).
Pure extraction core for the bar family: reads D3-bound data under
rootand builds the MAIDR layer, without wrapping it in a figure or touchingmaidr-data. Used by bindD3Bar (root = the SVG) and by the multi-panel binders inbinders/subplots.ts(root = one panel element, withpanelscoping the emitted selectors to that panel).The trailing
typeselects which mark the layer announces itself as; the extraction is the same for all four (see BarMarkTraceType).