gourab ghosh
gourab ghosh

Reputation: 169

Seaborn bar chart on grouped by result on the grouped by categorical column

I want to display the below data on seaborn bar chart and only the grouped data is available. enter image description here

I just want to reproduce the same result via seaborn.

Upvotes: 0

Views: 26

Answers (1)

Quang Hoang
Quang Hoang

Reputation: 150805

barplot:

sns.barplot(y=df.index, x=df['vote_count'], orient='h')

Output:

enter image description here

Upvotes: 1

Related Questions