Skip to content

A HLedger Sankey visualization of your incomestatement using amCharts4.

License

Notifications You must be signed in to change notification settings

AlessandroW/hledger-sankey-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLedger Sankey

A HLedger Sankey visualization of your incomestatement using amCharts4. screenshot

Example

Export the example.journal with:

$ hledger -f example.journal incomestatement --cost --tree --sort-amount --output-format json > example.json

The result is the example.json file in this repository. Open the index.html and load the example.json to reproduce the above Sankey diagram.

Getting Started

  1. Export the income statement of your journal.
$ hledger incomestatement --cost --tree --sort-amount --output-format json > journal.json
  1. Open the index.html in your browser.
  2. Click Browse and select your exported JSON file.

Handy Export Functions

  • From .. To Export
$ hledger incomestatement --cost --tree --sort-amount --output-format json -b 2021/04/01 -e 2021/06/30 > 2021-Q2.json

About

A HLedger Sankey visualization of your incomestatement using amCharts4.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published