ggplot(room_summary,aes(x = room_type,y = median_price,fill = room_type)) +geom_col() +labs(title ="Median Price by the type of room in DC",x ="Type of Room",y ="Median Nightly Price",fill ="Type of Room",caption ="Source: Airbnb_DC_25.csv") +theme_minimal()
This graph depicts the different types of rooms in DC and their corresponding prices. The focus here, is to make an emphasis on the median prices of types of rooms. I had to use the median because the average made the shared rooms more expensive and that did not make sense. This graph makes more sense than the previous one I had and it is better. A pattern from the graph is that the hotel rooms and entire home/ apt are more expensive.