1

Given the df:

col1  col2   n
aaa   login  5
aaa   tran   100 
bbb   login  23123
bbb   regis  45
bbb   tran   4

I want to build a ggplot grouped by col1 that will show a bar plot for each col2 it's n value.

I have tried to do this with interaction but it's not what I want.

Here is the scheme of the graph I need:

enter image description here

SteveS
  • 3,789
  • 5
  • 30
  • 64

0 Answers0