How can I achieve this in Plotly Express using Horizontal Bar?
The main problem is how to use counts in x-axis?
How can I achieve this in Plotly Express using Horizontal Bar?
The main problem is how to use counts in x-axis?
Hi @saurav
Have you tried looking at the bar graph documentation and building the plot from one of the examples there?
Yes, I have tried. I want to plot count on x-axis how to do that?
This should work:
fig = px.bar(data_canada, x='state', y='count')