How to draw braces/brackets for a plot?

You could try to work with shapes; however, I don’t know whether you can draw these kind of braces with them. Have a look here for shapes > Shape positioning in categorical grouped bar chart