JSViz Sankey Chart - Elements Not Visible


I am working with the Tibco JSVis tool to create a Sankey chart. I started with the default Tibco analyst .dxp that comes with JSVis and replaced the datatable with my own data (e.g. cash flow data).

The new datatable is loading correctly but many of the Sankey "waves/branches" are not visible (fall off the screen area), attached .png.

I've tried to modify the GoogleSankey.js source code (guess and check methodology... unfortunately I'm not a programmer) but nothing seems to work.

E.g. sensitized the following lines:
var options = {
width: window.innerWidth - 10,
// Example: changed default -10 to -100
height: window.innerHeight -10,
// Example: changed default -10 to -100

Please let me know if you have any ideas!! Thanks so much for your support.

Best Regards,


Image icon spotfire_sankey_screen_capture.jpg76.43 KB

1 Comment

My first guess would be that some of the numbers being generated are negative and this is causing the behavior you are seeing.  You can confirm this by exporting the JSON data from the Data property page and looking at the values to see if any are negative.

If you direct message me, I can take a look at your data and see if I can figure out how to solve your issue.

Dave Leigh - Apr 18, 2019 - 3:14pm
+ Add a Comment