How to Show Food Donations in a Sankey Diagram

Draw food donations by source, through sorting, to parcels, partner groups and waste. Learn when to use weights or item counts and how to balance received against sent out.

A food donations Sankey starts with who gave the food and ends with where it went, so a reader can see how much became parcels and how much was lost on the way.

The example shows 1,000 kg received from four sources, all passing through sorting and then leaving as parcels, food passed to partner groups or food discarded. Each ribbon is as wide as its weight.

The numbers are invented. The same shape works for a week, a month or a year, and you can add a storage column when you want to see ambient, chilled and frozen food apart.

Weights or item counts

Pick one unit for the whole diagram. Weight in kilograms is usually the easiest, because scales are already in the warehouse and a tin of beans and a bag of potatoes can be added together.

Item counts suit a small shelf of one product, but a crate of tins and a crate of bread do not compare. If you only have counts for some sources, convert them with an average weight and say so in the note under the chart.

Balancing received against sent out

Food that comes into sorting must go somewhere. In a Sankey the Sorting block is as tall as everything entering it, and it must also equal everything leaving it, so the three outcomes have to add up to the total received.

When they do not, the gap is real information. Add a flow for stock still on the shelf or for weight you could not account for, so the picture stays honest instead of hiding the difference.

Building it step by step

Work through the diagram in this order.

  • List the sources and the weight received from each over the same period.
  • Add the sorting step as one node that takes all of it.
  • Add the outcomes: parcels, partner groups and discarded food.
  • Check that the outcomes sum to the weight received and fix any gap before you share the chart.

Where to go next

The full version with storage types is the template at /sankey/food-bank-donation-sources-to-parcels. To compare this with a stage-by-stage drop-off view, read /sankey/sankey-diagram-vs-funnel-chart, and for a kitchen rather than a food bank see /sankey/food-waste-flow.

The process behind the numbers is described in /templates/food-bank-donation-intake-process and /templates/food-bank-stock-rotation-and-expiry-process.

Key points

  • 1,000 kg is received: 520 kg from supermarkets, 200 kg from wholesale, 180 kg from food drives and 100 kg from individuals.
  • 780 kg goes into parcels, which is 78 percent of everything received.
  • 150 kg is passed to partner groups and 70 kg is discarded, so 220 kg does not go into parcels.
  • The three outcomes add up to 1,000 kg, the same as the food received.

The example’s data

Invented weights in kilograms for one period, balanced so food received equals food sent out. This is an illustration and not food-safety, legal or accounting advice.

How to Show Food Donations in a Sankey Diagram (kg)
FromToAmount (kg)
SupermarketsSorting520
Food drivesSorting180
WholesaleSorting200
IndividualsSorting100
SortingParcels780
SortingPartner groups150
SortingDiscarded70

The same data as CSV

source,target,value
Supermarkets,Sorting,520
Food drives,Sorting,180
Wholesale,Sorting,200
Individuals,Sorting,100
Sorting,Parcels,780
Sorting,Partner groups,150
Sorting,Discarded,70

How it works

  1. List the sources

    Enter each donation source with the weight received over one period.

  2. Add the sorting step

    Send every source into one Sorting node so the total received is visible.

  3. Add the outcomes and check the balance

    Add parcels, partner groups and discarded food, and make them add up to the total received.

Frequently asked questions

Should I use kilograms or items?

Use kilograms if you can. One unit for the whole chart keeps the ribbon widths comparable.

What if received and sent out do not match?

Add a flow for stock on the shelf or unaccounted weight so the diagram balances and the gap is visible.

Make your own food donations Sankey

Open this example as your own chart, then paste your own sources and weights.

Make your own food donations Sankey

More in Sankey diagrams