SkillAgentSearch skills...

Sankeydiagram.net

sankeydiagram.net is an easy-to-use webapp for generating Sankey Diagrams to visualize flows and budgets.

Install / Use

/learn @nxt3AT/Sankeydiagram.net

README

SankeyDiagram.net

sankeydiagram.net screenshot

About

SankeyDiagram.net is a simple and modern generator for Sankey Diagrams.

Live Version: https://sankeydiagram.net/
Example Diagram: https://sankeydiagram.net/?content=PTAEGUHkFUCUGECioD...
User Guide: https://sankeydiagram.net/how-to/create-a-sankey-diagram

<a href="https://www.buymeacoffee.com/JonasDoesThings" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>

Develop

⚠️ Check out the dev branch! Development happens on the dev branch! ⚠️

  • run dev-server: npm run start
  • build: npm run build
  • lint: npm run lint
  • fix codestyle: npm run lint:fix
  • update dependency(if needed): npm i [dependencyName]@[version] (use can use @latest for the latest version)

Live version of the dev branch: https://dev.sankeydiagram-net.pages.dev/

There is also a Dockerfile available for running. It builds the app and runs a nginx server to serve the static files.
Use docker build -t sankeydiagramnet . && docker run -p 80:80 sankeydiagramnet to start you a docker container at local port 80.

Contact

If you have any questions, need help, a special license, or something else, you can contact me via GitHub Issues, or using the following methods:

Credits

Major Libraries Used

  • The Sankey Diagram D3 extension is based on https://github.com/ricklupton/d3-sankey-diagram
  • D3 - https://github.com/d3/d3
  • For exporting images - https://github.com/exupero/saveSvgAsPng
  • For compressing the sharing URL - https://github.com/pieroxy/lz-string

License

(See LICENSE.md)

This piece of software is licensed under the MIT with a Common Clause. That basically means, that you are allowed to use, view, edit, and fork this project, but not sell it. (No legal advice)

If you want to use this project and need special licensing, contact me (email: jonas@jonasdoesthings.com)

View on GitHub
GitHub Stars120
CategoryDevelopment
Updated13d ago
Forks17

Languages

HTML

Security Score

85/100

Audited on Mar 21, 2026

No findings