I am completing the last course in the Google Data Analytics Certification program and have been tasked with completing a case study. We were directed to use specific sets of data for analysis. I am trying to create a bar plot that shows the difference in user participation.
ggplot() +
geom_bar(data = sleepDay_merged, aes(x = n_unique(Id))) +
geom_bar(data = weightLogInfo_merged, aes(x = n_unique(Id))) +
geom_bar(data = dailyActivity_merged, aes(x = n_unique(dailyActivity_merged$Id))) +
labs(title = 'Difference In User Data', subtitle = "Sleep Vs. Weight Vs. Daily Activity")
What I am currently having trouble with is getting rid of the default Y axis label that reads "count". I would also like to rename the X axis to clean up the plot more. I would also like to create individual colors for each bar along with a legend. I am VERY new to R and just keep hitting road blocks. I would appreciate any guidance whatsover.
Thanks, Saiyid