I came across Chris Moffitt’s starter code to generate waterfall charts in Python 3. His example is particularly useful because he doesn’t assume Excel files as input (as the other finance oriented python waterfall chart starter codes do), but rather deals with pandas data frames exclusively. As a starting point, I think his chart looks pretty good.
The code could use a little tweaking (color coded contributions vs deductions, thinner connecting lines…) and if anyone with a little more programming experience wants to help me build a decent python function out of all this [ waterfall_chart(input) ] please feel free to contribute to this repo.
Do add yourself as a contributor, however!
Now let’s make Jeremy proud MSAN UNITE