Binds a D3.js parallel coordinates plot to MAIDR, generating the accessible
data representation.
Point selector at the observation paths — one per row of your data — and
list the axes in dimensions, in the order they are drawn. label names
the observation, which is what the trace announces the row as.
The trace derives each axis' range from the data itself and sonifies every
value against its own axis, so nothing here needs per-axis minima: a car with
the best economy and the worst power sounds like exactly that, rather than
like the units the two variables happen to be measured in.
Parameters
svg: Element
The SVG element containing the D3 parallel coordinates plot.
A D3BinderResult with the MAIDR data and generated layer.
Remarks
Timing — call after D3 has rendered. Like every D3 binder, this reads
each matched element's D3-bound __data__; calling it before
.data().join() has run (or before the SVG is mounted) throws "No elements
found for selector …".
Binds a D3.js parallel coordinates plot to MAIDR, generating the accessible data representation.
Point
selectorat the observation paths — one per row of your data — and list the axes indimensions, in the order they are drawn.labelnames the observation, which is what the trace announces the row as.The trace derives each axis' range from the data itself and sonifies every value against its own axis, so nothing here needs per-axis minima: a car with the best economy and the worst power sounds like exactly that, rather than like the units the two variables happen to be measured in.