This map shows the locations of criminal offenses that occur in Baltimore on a given day; in this case, January 1st, 2011. The color of each marker represents the type of offense that it represents, which is labeled more specifically when hovering over a marker. By clicking on a marker you can see more information: ID, the time that the offense occured, and the age and race of the offender.

I chose this representation of the data for two reasons. It makes it easy to get a lot of information at a glance, such as a ballpark of how many total offenses were commited on that day, how many offenses of each color-type were commited, and where they occured. It can also show more information than just a static image would be able to when clicking on the markers. Because the database contains a lot of data, it didn't make sense to add markers for every offense logged, so I decided to set a time window of one day. By changing the date string near the beginning of this notebook you can change the day it shows, and compare data across days. For example when I put in "12/25/2011" for Christmas 2011 I see a high number of offenses logged compared to other days, a large proportion of which are classified as narcotics—represented by green markers.