Install NodeJS and NPM (https://phoenixnap.com/kb/install-node-js-npm-on-windows , https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
Open Node.sj on windows or Linux Bash command line and Verify NPM installation using npm -v and node --version
Run npm install d3-sankey-circular, npm install d3-sankey, npm install d3-save-fig. These D3 packages are stored into a new folder (node_modules)
Upload Sankey database into Sankey_XXX.js (Can use 'finalJSConstructor.py XXX.csv' to generate this Sankey_XXX.js)
Replace Sankey_1.js in index.html with Sankey_XXX.js
Run nodejs fileserver.js
Open localhost:8080 and click download SVG
Open https://blockbuilder.org/vyom-thakker/4dfeed315f66e3a5ed3b10130e397a9e
Upload your Sankey_XXX.js
Change <script src="Sankey_minGWP.js"></script> to <script src="Sankey_XXX.js"></script>
View your sankey at the top screen and take screenshot of sankey (does not allow SVG generation)