-
-
Save jonathanlxy/a9fc76e9c049c64403c9f42e99730da8 to your computer and use it in GitHub Desktop.
Vision Zero Visualization Blog Post Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let's visualize original time range | |
g <- ggplot(data = sample_set(work_dt), | |
aes(x = factor(month(FULLDATE)), | |
y = YEAR)) | |
g + | |
geom_tile(aes(fill = factor(YEAR)), color = 'white') + | |
# ggtitle('Time Range of NYC Motor Vehicle Collision Data') + | |
labs(x = 'Month')+ | |
theme(legend.position = 'none', | |
axis.text=element_text(size=12), | |
axis.title=element_text(size=14,face="bold") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment