I am trying to create a single-column bar chart with the desired result looking something like this

I figured the barmode = 'stack' would do the trick but the bars are not stacking
lang count percentage
Undetermined 1202 37.56
English (default) 806 25.19
Arabic 529 16.53
French 524 16.38
German 32 1.00
import plotly.express as px
fig_lang=px.bar(df_lang,
y='lang',
x='percentage',
color='lang',
color_discrete_sequence=px.colors.qualitative.T10,
barmode='stack',
orientation = 'h',
text=df_lang['percentage'].apply(lambda x: '{0:1.2f}%'.format(x)))
fig_lang.show()
Any pointers to why or how to accomplish this would be much appreciated!

