Funny you chose that source, which does not list SF as being in the top 100 most dangerous cities in the US:
https://www.neighborhoodscout.com/blog/top100dangerous
It's about half as dangerous as city ranked #73, Farmington, NM, and over 6x less dangerous than #1 Bessemer, AL.