Skip to main content
100%

biPartite - sortPrimary, sortSecondary

โœ“ Published0๐ŸŒ Public
NNPashaP
Last edited Aug 7, 2016
Created on Jul 6, 2016

viz.bP().sortPrimary, viz.bP().sortPrimary

These methods are used to set the sorting function for the primary and secondary parts.

The example on the left is using the default sorting functions for primary and secondary parts which is d3.ascending. The example on the right is using custom sort function for primary and secondary parts.

For other options and examples, check VizJS

gpl-3.0 Licensed