Skip to content

Configuration

Britt Sikora edited this page Dec 2, 2016 · 2 revisions

This chart template accepts three custom arguments: an ID column, which links records at each node; a node column; and a link column.

        var settings =
            {id_col: 'Participant ID'
            ,node_col: 'Visit'
            ,link_col: 'Peanut IgG Threshold (log 10)'

To render the chart, pass the charting function an HTML container and the settings object, then pass the init() method a dataset:

interactiveSankey('body', settings).init(data);
Clone this wiki locally