Vimal Natarajan shows off some R charts using crime incident data:
By analyzing the plot above, we can arrive at the following insights:
The number of crimes steadily decline from midnight and are at the lowest during the early morning hours and then they start increasing and peak around 6 PM in the evening. This is the same insight we arrived in my previous analysis but here we have categorized by the Police district and still see the same pattern.
As seen in the previous plot, Park and Richmond districts have the lowest number of crimes throughout the day.
As highlighted in red in the plot above, the maximum number of crimes happens in Southern district around 6 PM in the evening.
I would prefer to see code here, but it does serve to give you an idea of what R can do.