hi, i have this problem where i need to plot a bar chart for a certain number of variable, but i need 3 grouping bars represent 3 different information for each variable for comparing all of them in one chart.
i was wondering is it possible to do so i can only have 1 bar, this is what i've got so far and it only show bar graph of the 1st variable being x and the 2nd one, i'm trying to show all the other 3 on for each of the 'company' but dont know how:
information <- data.frame(company = c('Instagram', 'Netflix', 'Youtube', 'Amazon', 'Facebook',
'Linkedin', 'Twitter', 'Uber', 'Tinder', 'Zoom', 'Apple', 'Tiktok', 'Spotify', 'Microsoft'),
word_count = c(2451, 2628, 3308, 3416, 4132, 4346, 5633, 5658,
6215, 7243, 7314, 7459, 8600, 15260),
ggplot(information, aes(x = company, y = word_count)) +
geom_bar(stat = "identity", position = 'dodge')