Data Visualization Course

Project Documentation

A project documentation is a comprehensive report that outlines the work done in a data visualization project. It serves as a reference for others, detailing the project’s title, contributors, objectives, and methods. Typically structured as a README.md file, it includes links to online resources, a project abstract, an introduction with goals and audience, details on data sources and preprocessing, descriptions of visualizations, key findings, and potential future steps. This document ensures clarity, replicability, and accessibility for the project's audience.

Is Boston a safe place?

Our research explores crime distribution in Boston, focusing on identifying safer areas and optimal times to explore the city. By analyzing crime trends and their spatial-temporal patterns, we provide insights into areas and times to avoid, offering valuable guidance for residents, tourists, and potential movers to make informed safety decisions.

Authors:

Villani Giacomo, Bernacchia Alessia, Pioda Tommaso

Accademic year:

2024-2025


Visualisation n.1

Linechart: average number of crimes during the day


This graph shows us the average trend in the number of crimes in Boston during the day. On the X-axis we have the hour of the day, while on the Y-axis we have the number of crimes committed in Boston. This graph is the result of a daily average over the 4 years of data we had available. As you can tell, the most dangerous time of day is around 5:00 p.m., while the quietest time is during the night from 03:00 to 06:00 in the morning.

Visualisation n.2

Maps: type of crimes for district

These maps illustrate how crimes are distributed across Boston, categorized by their level of severity. They provide a valuable visual representation of which police districts experience higher crime rates. The crimes are divided into three levels of severity: Low severity (UCR Part 03), Medium severity (UCR Part 02), High severity (UCR Part 01), While the Boston Police Department typically classifies crimes only as UCR Part 01 and UCR Part 02, we introduced a third category (UCR Part 03) to include very low-level crimes, ensuring a more detailed representation of crime types. In these maps, greater saturation indicates a higher number of crimes recorded in a particular district over the four years covered by our data. 

Key Findings

 Summarizing the insights from the data, we conclude that it is advisable to avoid police districts Roxbury (B2), Dorchester (C11), and South End (D4), particularly around 5:00 PM. Generally, areas farther from the city center tend to be safer. While the data might initially suggest that Boston is a dangerous city, a closer analysis reveals otherwise. Considering that crime peaks at about 5 crimes per hour (mostly not violent) in a city with over 650,000 residents, Boston is not as unsafe as it might seem. It is neither the safest nor the most dangerous city in the world. We simply recommend exercising caution a bit in the afternoon, especially near the city center.

(possible) Next Step

 The possible next steps could be centered on the motivation over why those districts are the ones that have higher crime rates. Before we hypotised that this fact could be related with the demografic distribution of the city itself, but there are many other possible different reasons. The research is not really focussed on "why some places are better than others" but more on which ones are safer with respect to the others. Perhaps even asking directly the city of Boston, or others, if there are aspects they would prefer to have evaluated in order to draw conclusions to improve the safety of the city. The possibilities are many and very disparate from one another.

go to the original documentation