Hi I am trying to generate a swim plot with following criteria 1.each bar one color for each treament group…