mySelection.order() in D3.js
Reorder the elements in the DOM to match the order of elements in the selection.
- Return Type
- Selection
Description
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-order.
See Also
- Selection.sort(comparator)