mick76
1
Hi,
i want to draw a grouped bar chart with altair and streamlit, but i don’t know how.
This is my dataframe:
Date Revenue Earnings
0 2021-06-30T00:00:00 2833000000 350000000
1 2021-03-31T00:00:00 2870000000 219000000
2 2020-12-31T00:00:00 2392000000 17000000
3 2020-09-30T00:00:00 2365000000 -20000000

it should look like this.
Thank you
mick76
2
Is it possible with plost?
mick76
4
with plost it´s possible, but it seems not to work with columns.
plost.bar_chart(data=df,
bar='Quarter', height=400, width=100,
value=['Total Revenue (Mill.)', 'Net Income (Mill.)'],
group=True)
Now i´ll try altair.
system
Closed
5
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.