# SankeyMATIC Manual

## Scaling Diagrams for Comparison

### What and Why

If you are making multiple Sankey diagrams, you may want to them to use the same scale so that the sizes of Flows and Nodes are consistent between them.

SankeyMATIC provides support for this by reporting the current Diagram Scale, which is the amount per pixel of diagram height.

When you make this Diagram Scale figure match across diagrams, then the sizes of all of the Nodes and the Flows can be usefully compared across them.

### How

The Diagram Scale appears in the “Advanced” control panel. Here is an example: This figure shows the exact calculation used to derive the current diagram's Scale, quantified using the Unit Labels you have set.

Once you have your 'base' diagram set up as you wish, record its Diagram Scale figure. (If you have not yet settled on its final format, don't record the Scale yet. Changes to size, margins, and spacing will affect the number.)

Then, for any additional diagrams you want to produce matching the base diagram's scale:

1. First make sure the units your data use are the same as the base diagram's. (For example, you would not want to make kWH appear the same size as MWH, or equate metric units and English units.) Remember to set the Label Prefix & Suffix accordingly, if you are displaying the labels in the diagram.

2. Set up all of the new diagram's nodes and flows.

3. Adjust the new diagram's parameters as needed to make its Diagram Scale come as close as possible to the base diagram's.

These parameters affect the Diagram Scale:

• your diagram's size (height)
• you diagram's margins (top and bottom)
• the Vertical Space Between Nodes setting

### Detailed Example

You can follow a two-diagram example from start to finish in the SankeyMATIC Gallery: comparing the US Federal Budget amounts for 1993 and 2012. 1993 2012