{"repo":"anarion80/sankey-finance","free":true,"listed":false,"github":"https://github.com/anarion80/sankey-finance","clone":"git clone https://github.com/anarion80/sankey-finance.git","description":"Financial Results Sankey Charts Generator","language":"JavaScript","stars":26,"topics":["chart","d3js","finance","graph","sankey","sankey-chart"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Sankey-finance Sankey-finance is a command line utility (a wrapper around d3-sankey) to generate beautiful sankey charts - mostly for visualizing financial results. It is inspired by App Economy Insights work. It is fully Open-Source and released under MIT licence. :sparkles: Features - Ability to adjust - node alignment (cli) - node sort method (cli) - link sort method (cli) - node width (cli) - node padding (cli) - image width (cli) - image height (cli) - node/link colors (input file) - chart title (input file) - value currency (input file) - value abbreviation (input file) Example 1 Example 2 ------------------------------------- ------------------------------- :pencil2: Usage If you would like to use this: - clone the repo - run npm install - prepare input data in Excel spreadsheet file - run node sankey-finance.js with desired options (see below) You might need to experiment with node alignment and node/links sorting to create a chart that is best matching your input data. Input File Format The script is expecting the data to be in separate tabs (see example input file): nodes - with the following columns name type color ------------------ ------- ------- Revenuce source revenue #666666 Net Sales revenue #666666 Gross Profit proft #2ba02d Operating Expenses loss #cc0001 where: - name is just the name of the node (Mandatory - type is the P&L profit or loss indicator (Mandatory) - profit - used to color positive values in the P&L green - loss - used to color negative value","default_branch":null,"files":null,"tree":[],"storefront":"/r/anarion80","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anarion80/sankey-finance/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}