This is a sankey diagram aligned left based on Vasco Asturiano great work.
The collapsible option was a great work made by sheilak
The gradient coloring was done based on AmeliaBR answer on StackOverflow
forked from TheBiro's block: Collapsible Sankey Diagram Aligned Left (Sample 4)
https://d3js.org/d3.v4.min.js