Lets say I would like to replicate something like this (2 columns only for every category)
If I would like to have the first column for every category :
Yellow for values greater than 7.5
Else blue , what the code would most likely be ?
To control the colours used for bars instead of using the Vega-Lite default behaviour, one way is to include a conditional color block in the encoding block.