The Philadelphia Department of Public Health offers a data dashboard where you can find citywide statistics relating to gun violence and its upstream factors, like poverty and other social determinants of health. Firearm suicide data are also available.