San Francisco, known for its iconic landmarks, diverse culture and vibrant neighborhoods, is a city that captures the hearts of many. However, amidst its beauty lies a growing concern about safety on its streets. In this blog, we delve into the question: How safe are the streets of San Francisco?

The dashboard accessible on Tableau Public provides an opportunity for further exploration into crime in San Francisco and neighborhoods considered safe.

When examining the heat map depicting incident counts across San Francisco, the city center, particularly the Tenderloin area, serves as a focal point for criminal activities. However, such incidents are distributed throughout the entirety of San Francisco.

After plotting police station into a map of San Francisco and creating a buffer zone around them, I discovered that the Tenderloin area is encircled by police stations, yet crimes continue to occur in close proximity to these law enforcement facilities.

While this information initially seemed apparent, it prompted me to conduct a time series analysis of incidents spanning from 2017 to 2023. Surprisingly, crime rate decreased notably during the COVID-19 period. However, what intrigued me further was the observation that incidents predominantly occurred during midday and in the evening around 6 pm. The pattern has been repeatedly followed through the years.

The next aspect to examine was the characteristics of crime types in those areas. While you can utilize filter per district, focusing on the Tenderloin district revealed that theft, drug-related offenses, violence, and assault were prevalent. The crime rate is 7% higher than the average for San Francisco.

Interestingly, upon identifying the safest suburb, I found that, to be safe in San Francisco, you have to go out of San Francisco.


The Data School
Author: The Data School