I have a dataframe in the following format.
item price
item1 23
item2 45
item1 24
item3 98
item2 45.9
item3 97.2
From this, I need to display boxplots of price distribution for every unique item in the item column. There are about 80 unique items. So, I am not sure how to group them such that I get boxplots with atleast 4 unique item's with its range in each graph and multiple such graphs for all the 80 unique items. I am not sure if I should reshape my dataframe and even if I need to , on what basis would it be? I have tried with facet_wrap but the nrow is not making any difference. Any help with this will be much appreciated.
Thanks in advance.
