A Sankey diagram is a type of flow diagram used to visualize the magnitude of flow between different nodes or processes in a system. It is particularly useful for illustrating energy, material, cost, or other types of flows.