Ref pointing to the SVG element containing the rendered chart.
Discriminated union of chart type + binder-specific config.
Optionaldeps: DependencyListValues that should trigger re-binding. Defaults to []
(bind once on mount). Include your chart's data here to
keep MAIDR in sync with live D3 updates.
Object with maidrData (the extracted MAIDR schema, or null
until the first successful bind) and error (the most recent
binder error, or null on success).
Binds a D3.js-rendered SVG to a Maidr data structure.
The hook reads
svgRef.currentinside auseEffect, which means:depsso the hook re-binds when your chart changes.