Plotly Express Annotation, Then you can use the text kwarg to specify the text on each bar.