Urban Crime Visualization


Zian He & Junsong Yao
2022/11/26



Background

A city’s crime rate is always an important consideration in whether the city is a good place to live. And a city’s crime data can also reflect many characteristics of the city. So, we want to analyze the crime data of Rockford city to get some visualization that will help us understand the crime situation of the city. We are also looking for crime reports for the city of Urbana to use as contextual data for our dashboard, and we hope to get some correlations in crime characteristics across cities from contextual visualization.


Dashboard Describe

We created a visualization(Fig 1) of the average number of wards of different types of crime objects for each day of the week in this city. As well as the distribution of the time of occurrence of different crime objects for each day of the week. We first created a heatmap with the x-axis of the visualization being the three types of crime objects (Person, Property, Society) and the y-axis being each day of the week. The color of the heatmap then represents the difference in the average number of victims. We link this heatmap to a bar chart. This allows us to see the number of different crime times occurring at that average ward number by selecting a different average ward number. This dashboard allows the layperson to understand the average number of wards, or victims, for each day of the week, what type of crimes these victims were subjected to, as well as the distribution of when these crimes occurred.


Fig 1


Contextual Visualization

Police Arrests Upload Datasets: Datasets Link.

The contextual data we found were police arrest data for Urbana. This data has the same clear documentation of crimes in Urbana as the City of Rockford crime records that we used. And we found some very interesting elements in this data, such as the age, gender, and race of the arrestees. We think these variables can help us to analyze and predict the motives and trends of crime by combining or comparing the two data visualizations.

Because the entire police arrest data volume is very large, we chose to just use a data volume of 1000. Next, we created three contextual visualizations(Fig 2&3). The first graph is a histogram with the x-axis representing the age of the arrestees and the y-axis representing the number of arrestees of each age. And we categorized the race of the arrestees by color into Asian, Black, White, Hispanic, and Unknown. We can see the number of arrestees by looking at the length of each color in the bar. As you can see from this graph, the 20-25 age group has the highest number of arrests. White has the highest number of arrests in this age group. The second and third graphs of our second dashboard. the point plots above, the x-axis represents the reason the offender was arrested. the y-axis represents the method of the arrest. We have also divided each point into different racial groups by color. The bar chart below visualizes the number of arrests for each race. The x-axis represents the number of arrests and the y-axis represents the race of arrests. We can select the point in the dot plot by swiping the area with the mouse to see how the number of arrests for each race changes in comparison. We find that on-view arrests are the most common type of arrest, while warrant arrests are the least common type of arrest. We also find that the more serious arrests, such as warrant arrest or detention, have more blacks in them. The less severe types of arrests, such as summons, have more whites.


Fig 2


Fig 3


Conclusion

By visualizing the two dashboards and a graph, we found that the most frequent crimes in the city are crimes against property and occur most often on Mondays and Fridays. Crimes against individuals are concentrated on Saturdays and Sundays, while crimes against society are more evenly distributed. The age of the offenders is between 20 and 25, with whites being the most numerous, followed by blacks. And blacks were more often arrested for felonies, while whites were more often arrested for misdemeanors. We believe that through these visualization graphs we can effectively analyze and predict the crime trends in the city.


Citation


Zian He
Junsong Yao