nest.sortValues()

nest.sortValues(comparator)

Sorts leaf elements using the specified comparator function, such as d3.ascending or d3.descending. This is roughly equivalent to sorting the input array before applying the nest operator; however it is typically more efficient as the size of each group is smaller. If no value comparator is specified, elements will be returned in the order they appeared in the input array. This applies to nest.map, nest.entries and nest.object.

doc_D3_Js
2016-11-24 10:28:08
Comments
Leave a Comment

Please login to continue.