Values with same level are being summed?

in a bar chart of BCD vs Donor the replicates in each condition are being summed

See the BCD column in the table that shows 4 replicates in each blue and red condition and their values, but the bars are summing the values

How can I make either a bar for each value per condition (per donor) or show a bar for the average of the 4 replicates?

summaryColours2 = c('grey', 'cornflowerblue', 'blue', 'grey', 'brown1', 'firebrick3')
  
  
  figure_BCD <- plot_ly(shared_df, x = ~Donor,
                     y = ~BCD,
                     color = ~Condition,
                     colors = summaryColours2,
                     type = "bar")
  
  figure_BCD