Vega chart center bar in dynamic number of columns
I am trying to make a clustered column chart in Vega where in if the values in the category are positive and negative, they are going to be stacked in one column but if the values in the category are both positive or both negatives then they must be displayed side by side instead of stacked.