Tried to run the following code to plot a pie chart using ggplot. But its giving this error constantly.
ggplot(Q6.1, aes(x="", y= count(market_segme