I would like to create plots/graphs by Group for the dataset shown below.
    Type    Group   price
1   Fair    Cut 4405.202
2   Good    Cut 4053.888
3   Very Good   Cut 4175.925
4   Premium Cut 4779.045
5   Ideal   Cut 3654.54
6   D   Color   3485.46
7   E   Color   3291.415
8   F   Color   3760.281
9   G   Color   4091.388
10  H   Color   4610.674
11  I   Color   5083.602
12  J   Color   5173.224
In particular, I want to create a graph with "price" on the vertical axis and "Type" on the horizontal Axis for the Group = "Cut" and similar graph for the Group="Color". I have more groups in my dataset and I would like to automate this process for all the other groups. I have tried several options including using ggplot with facet wrap by Group but the graphs I get from ggplot are not unique for each Group.
Any help will be greatly appreciated.
Thanks.
Regards, Philip
 
    