Clean code, remove unused deps, simplify suggestions.
Rename legendHeight into marginTop since waterfall has no legend.
Simplify code, introduce bareme.