I have to make a bar chart of the data that I have filtered and stored as values from a data frame.
group3 <-hotel_bookings %>%
group_by(hotel,country) %>%
count(hotel) %>%
count(country)
barplot(group3$n, xlab = "hotel_name", ylab = "booking_count", main = "Booking distribution" )
in there hotel_bookings is the name of the data set, hotel and country is column name.
Can someone help??