Gratis å bruke, uten konto

Sankey-diagramgenerator

Gratis verktøy i nettleseren. Oppgi verdiene dine og få et resultat på denne enheten.

Diagrammet viser dataene du oppga og anslår ikke manglende verdier.

Resultat

Hvordan fungerer dette verktøyet?

Skriv inn én flyt per linje i formatet kilde | mål | verdi. Verdiene må være null eller høyere.

Veiledning

Slik bruker du Sankey-diagramgenerator

The Sankey Diagram Generator turns a list of flows into a simple chart. You type one flow per line as source, destination and value. The page draws a band for each line, thicker for larger values, and lists the flows with their total. It shows only the numbers you enter and never works out missing ones.

Slik gjør du

  1. Type one flow per line in the form source | destination | value, with the vertical bar between the three parts, for example Revenue | Profit | 60.
  2. Use plain numbers of zero or more, with a point for decimals. Both names must be given and must differ from each other. You can enter 1 to 100 lines.
  3. Press Calculate / create. The chart and a numbered list appear with the total flow. Load example fills in a starter, and Reset clears the box.

Eksempler

A revenue split

Du skriver inn
rader
Revenue | Costs | 40 Revenue | Profit | 60
Du får
liste
Inntekter → kostnader: 40; Revenue → Profit: 60
total flyt
100

Two bands start at Revenue. The Profit band is drawn 1.5 times as thick as the Costs band, because 60 is 1.5 times 40. The total is the sum of both values.

Kjørt med verktøyets egen kode.

Money that moves in two steps

Du skriver inn
rader
Salary | Rent | 900 Salary | Food | 400 Salary | Savings | 300 Savings | Holiday | 200
Du får
navn
5
total flyt
1600

The total counts what leaves the starting name: 900 plus 400 plus 300, which is 1600. The 200 for the holiday is part of the 300 that went to savings, so it is not added a second time.

Kjørt med verktøyets egen kode.

Lines the tool refuses

Du skriver inn
rader
A | A | 2
Du får
melding
Check the entered values.

A line with the same name on both sides stops the whole chart. So does a negative value, as in A | B | -1, or a missing value, as in A | B. All three show the same general message.

Kjørt med verktøyets egen kode.

A flow of zero

Du skriver inn
rader
A | B | 0
Du får
liste
A → B: 0
total flyt
0

Zero is allowed. The line stays in the list and the total is 0. In the chart, every band has a minimum thickness, so this one shows as a thin line.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Sketch where a monthly budget goes, from income to rent, food and savings.
  • Show a team how a total, such as visitors or revenue, splits between destinations.
  • Check a list of transfers by reading it back as a numbered list with a total.

Begrensninger

  • From 1 to 100 flows are allowed. Each line needs two different, non-empty names and a value of zero or more, written with a point for decimals, so 1,5 is rejected. One bad line stops the whole chart.
  • The chart draws one band per line, with the source name on the left and the destination name on the right. A name used in several lines is repeated, not merged into one block, so multi-step flows are not joined up in the picture.
  • The total flow adds the lines that start at a name nothing flows into, so an amount that passes through a middle name is counted once. If every name receives something, as in a loop, it adds every line. The tool does not check that what goes in equals what comes out.

Tips

  • For a flow with two steps, add up the lines by hand first. For each middle name, what goes out should match what comes in.
  • Use a zero to hold a path in the list before it has any value. It is drawn as a thin line and adds nothing to the total.
  • Keep names short. They are written at the left and right edges of the chart, and long names need more room.

Kilder

Vanlige spørsmål

What format does each line need?

Three parts separated by the vertical bar: source, destination and value, such as Salary | Rent | 900. Spaces around the bar are trimmed, empty lines are skipped, and the value must be a number of zero or more.

Does the thickness of a band match its value?

In proportion. The largest value gets the thickest band and the others are scaled from it, with a small minimum thickness so that tiny flows stay visible. A value of zero shows as the thinnest line.

Will the tool fill in a missing remainder?

No. It shows only the numbers you type and does not infer missing values. If a total should split into parts that add up, write the last line yourself.

How is the total flow worked out?

It adds the values of the lines that start at a name that receives nothing, which is where the money or quantity enters. A middle name that passes an amount on is not added again. If every name receives something, so there is no starting point, it adds every line.

Is this a full Sankey diagram?

It is a simple version. Each line gets its own band between a left label and a right label, with no stacked blocks and no routing through shared nodes. Treat the picture as a guide and use the list for the details.

Is my data uploaded?

The page says processing runs in your browser and your input is not uploaded. The chart is drawn on your own device from the lines you typed.

Hvordan fungerer dette verktøyet?

Skriv inn én flyt per linje i formatet kilde | mål | verdi. Verdiene må være null eller høyere.

Lastes inndataene mine opp?

Nei. Behandlingen skjer i denne nettleseren. Verktøyet laster ikke opp eller lagrer inndataene dine.

Er Sankey-diagramgeneratoren gratis å bruke?

Ja. Den er gratis i nettleseren og krever ingen konto. Enhetens minne og nettleserstøtte gjelder fortsatt.

Hvor nøyaktig er resultatet?

Diagrammet viser dataene du oppga og anslår ikke manglende verdier.