Skip to content

xiazhiming12/Gun_violence_analysis

Repository files navigation

Gun_violence_analysis

This repository is an analysis of the victims of gun violence in Chicago.It aims to analyz characteristics of victims and the time and locations of shooting cases.So better ways for future prevention can be provided based on that

Input:1.the record of shooting cases in Chicago,it can be obtained from DATA.GOV

2.A tiger/line shape file of Chicago, can be obtained from US Census Bureau.

Output:1.Python figures 2. One QGIS map

here is the python script

The script provides an overview of dataset at fist.First graph shows the number of shooting cases grouped by year:

figure1

and the second graph shows the proportion of two types of shooting cases: figure2

There are no records of Battery type of shooting cases before 2010 . So the data before the 2010 may missed some parts and to avoid the potential bias.The data before 2010 were dropped before the analyzing:modified data

Then the heat map here shows the victims of different of shooting cases in Chicago, the group of people with highest a gun shooting victims are M B L K group which represents the male of African American:

figure3

The QGIS map shows the places of all shooting cases in the data set, one blue point would represent one shooting case based on longitudes and latitudes provided:QGIS

Last figure shows the time and location of shooting cases based on time slots and community areas:

figure4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages