Creating a sankey diagram was the basic idea which involves some detailed mathematical computationRead less