Added script for sankey.
Add logic to index.

After the sample is working, this will be refactored.
Stash changes.