I would like to create a dot plot like the one below
I want to show how a variable (e.g. blood marker like albumin on Y axis) differ between cow and buffalo (coded as colors) in three different conditions (on the X axis i.e. healthy, mastitis and subclinical mastitis).
Could you please provide a code for this? Please if possible how to add median and confidence interval on the plot?