A HLedger Sankey visualization of your incomestatement using amCharts4.

Export the example.journal with:
$ hledger -f example.journal incomestatement --cost --tree --sort-amount --output-format json > example.jsonThe result is the example.json file in this repository.
Open the index.html and load the example.json to reproduce the above Sankey diagram.
- Export the income statement of your journal.
$ hledger incomestatement --cost --tree --sort-amount --output-format json > journal.json- Open the
index.htmlin your browser. - Click
Browseand select your exported JSON file.
- From .. To Export
$ hledger incomestatement --cost --tree --sort-amount --output-format json -b 2021/04/01 -e 2021/06/30 > 2021-Q2.json