All I knew about SF crime was that the Tenderloin felt quite dodgy when I visited. So I opened the map ready to be suprised. Instead it turns out my feelings were right. Looks like the crime rate in SF is an inverse function of the distance from the Tenderloin.