The author of SankeyMATIC, Steve Bogart, has made this code available for free.
For help and support, please see the links to the main SankeyMATIC website in the page footer.
The diagram is rendered entirely in the browser - no data is sent externally.