I'm having trouble with a stacked bar chart, that is to be represented on a time axis.
My DF looks as follows:
date (class: Date) | action (class: character) | share (class: integer)
2016-01-17 | ABC | 0.26
2016-01-17 | DEF | 0.16
...
2016-01-18 | ABC | 0.22
2016-01-18 | GHI | 0.19
What I would now like is a stacked bar chart on a daily basis. I have tried
ggplot(my_df, aes(date,fill=action))+
geom_bar()+
scale_x_date()
However, this does not produce the desired result. Does someone have an idea?
Best Wishes