block by NPashaP 70166c6bed6b21f897ddfd7b1c9f7081

Chord - sort

Full Screen

viz.ch().sort

This method is used to set a sort order for the groups.

The diagram on the left uses the default sort function which is d3.ascending and the diagram on the right uses a custom sort function.

Part of a series of examples on Chord diagram using VizJS

index.html