Sankey visualization
Sankey visualizations are a type of flow chart in which the width of the arrows is proportional to the flow rate.
About this task
For more information about the Sankey custom visualization sample on IBM Accelerator Catalog, see Sankey.
Sankey visualizations can show the energy accounts, material flow accounts on a regional or national level, and cost breakdowns. Sankey visualizations emphasize the major transfers or flows within a system. They help locate the most important contributions to a flow. They often show conserved quantities within defined system boundaries.
To view the source code and packed bundle (.zip file) for the sankey sample custom visualization, go to this public GitHub repository. To download the files, navigate to the root of this directory and click Clone or download.
Sankey visualizations are supported as of IBM® Cognos® Analytics 11.1.6
For more information about custom visualizations, see Developing custom visualizations. For an excellent tutorial to get you started, see Custom visualizations - tutorial.
- You can download the packed bundle (.zip file) and upload it directly into IBM Cognos Analytics.
- You can download the source code to create your own version of it to pack and upload into Cognos Analytics.
The following steps demonstrate how to use the Sankey visualization and populate it with data.
Procedure
What to do next
An explanation of the specific properties within this visualization that can be adjusted:
Property | Purpose |
---|---|
Node alignement | Set the alignment of the node:
|
Node width | Set the width of the node. |
Node padding | Set the padding of the node. |
Node border thicknes | Set the thickness of the borders of the node. |
Suppress unused | Suppress unused data |
Labels: | Properties for the labels |
Vertical alignment | Set the vertical alignment of the labels:
|
Show labels | Show or hide the labels. |
Label wrapping | If the labels are long, you can set to wrap the labels on a next line. |
Hide colliding labels | If labels collide, you can set to hide the colliding labels. |
Include nodes | Show / hide labels that collide with nodes. |
Fill type | Set the fill type of the nodes:
|
Consider negative weight | Set the angle of the axis. |