extracted the column chart calculation to helper_method