block by NPashaP d7e2010b713b6c56f1c57f4bb83ea74c

Chord - source, target, value

Full Screen

viz.ch().source, viz.ch().target, viz.ch().value

These methods can be used to set the accessor functions for the source, target, and values in the data array.

The diagram on the left uses the default accessors d=>d[0], d=>d[1], and d=>d[2] for source, target and value respectively.

The diagram on the right over rides these deafults.

Part of a series of examples on Chord diagram using VizJS

index.html