Binds a heterogeneous grid of D3 charts (one SVG, several independently
drawn panels of possibly different chart types) to MAIDR.
Each entry names a chart type, its binder config, and the panel's DOM
root (an element or a CSS selector resolved against container). The
matching per-type binder runs against that root and the resulting layer
becomes one MAIDR subplot.
Pass subplots as a 2D array for an explicit row-major grid (ragged rows
allowed), or as a flat array arranged via layout / geometry inference —
see D3PanelLayout.
Parameters
container: Element
The SVG (or wrapping element) containing all panels.
Binds a heterogeneous grid of D3 charts (one SVG, several independently drawn panels of possibly different chart types) to MAIDR.
Each entry names a chart type, its binder config, and the panel's DOM
root(an element or a CSS selector resolved againstcontainer). The matching per-type binder runs against that root and the resulting layer becomes one MAIDR subplot.Pass
subplotsas a 2D array for an explicit row-major grid (ragged rows allowed), or as a flat array arranged vialayout/ geometry inference — see D3PanelLayout.