79485111

Date: 2025-03-04 23:37:09
Score: 1
Natty:
Report link
  1. Just remove/delete the 'color' aesthetic

  2. this will be as below;

     ggplot(data = x) +
       geom_bar(
         mapping = aes(x = month, y = numb_fish, fill = LifeStage), stat = "identity") +
       labs(title = "Monthly Data",y = "Total") + 
       scale_x_date(date_breaks = "1 month", date_labels = "%b -%y")
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Henry Kaweesa