mySelection.selectAll( selectCalculator ) in D3.js
Use a function to select multiple elements for each entry in the selection.
Arguments
name | type | description |
---|---|---|
selectCalculator | Function |
Invoked for each entry in the selection, with parameters for the current datum and index, and with the this context as the current DOM element. Must return either an array or NodeList (either of which may be empty).
|
- Return Type
- Selection
Description
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-select.
See Also
- Selection.selectAll(selector)
- Selection.select(selectCalculator)