I have a dataset that looks like this, and I need to use the location as the color, the words as the x axis.
country good amazing best
Aus 12 45 12
Fiji 25 5 23
USA 45 5 12
UK 88 258 18
Ideally, it would look like this:
I tried the following codes:
positive.iplot(kind = 'bar', title = 'Frequency of Positive Words per Country', y = 'Location', x = ['good', 'amazing', 'best'])