Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bike sharing in washington by season
library(rio)
library(dplyr)
library(ggplot2)
# data from: https://www.kaggle.com/c/bike-sharing-demand/data
rides_stat <- import ("train.csv")
rides_stat %>%
group_by(season) %>%
summarise(total_rides = sum(count),mean_temp = mean(temp)) %>%
ggplot(aes(x=season,y=total_rides, fill = mean_temp)) +
geom_bar(stat='identity')+
coord_flip()
@AndreaCirilloAC

This comment has been minimized.

Copy link
Owner Author

commented Aug 22, 2016

rplot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.