I have some data like the following:

A A1 12
A A2 23
A A3 AA1 1
A A3 AA2 2
B B1 2
B B2 1

Is there a way to visualize this information in ggplot? I am looking for something like this:

   |--A1---12
   |--A2---23
A--|--A3--AA1--1
      |---AA2--2

B--|--B1---2
   |--B2---1

Any suggestions?

Edit
Report