I have a datafarme and would like to create multiple bars chart.
Basically, I created the table below after I ran the code:
company = df.groupby('country').status.value_counts()
company
country status
DNK operating 186
acquired 13
closed 10
FIN operating 171
acquired 11
closed 8
ISL operating 14
closed 2
NOR operating 85
acquired 6
closed 6
SWE operating 277
closed 18
acquired 12
I tried to create multiple bars chart that each country is grouping 3 status values. Each status is representing a bar color (operating = blue, acquired = green, closed = red). However, I get either error or all of them has one color. The chart should be same as the image sample below:
I'm new and hope you can help me with this.