Each crime report contains latitude and longitude coordinates. I used ruby to parse out each coordinate from this source : https://data.cityofchicago.org. Then I appended those points into a heat map.

Update: This dataset has been expanded on, in this post DataViz: Visualizing Chicago Narcotics Crime Data.

Chicago DECEPTIVE PRACTICE – 8/8/2012 to 8/8/2013

Chicago ALL CRIMES – 8/8/2012 to 8/8/2013



Chicago NARCOTICS – 8/8/2012 to 8/8/2013



Chicago HOMICIDE – 8/8/2012 to 8/8/2013



Ruby example to parse all coordinates for Primary Crime Type: DECEPTIVE PRACTICE



Output

