NYC Crime Patterns: A Spatio-Temporal Analysis of Public Safety

Scroll to Explore

Problem Statement

New York City, as one of the most populous and dynamic urban centers in the world, faces complex challenges related to public safety. Crime rates fluctuate based on a multitude of factors including location, time of day, season, and socio-economic conditions. Understanding these patterns is crucial not just for law enforcement, but for policymakers, community leaders, and residents who strive to make the city safer. However, raw crime data is often overwhelming and difficult to interpret without proper visualization and context.

Motivation

The motivation behind this project stems from a desire to democratize access to public safety data. We believe that by transforming abstract numbers into interactive, spatio-temporal visualizations, we can uncover hidden trends that might otherwise go unnoticed. Whether it's identifying hotspots for specific types of crimes or understanding how safety profiles shift between day and night, this analysis aims to empower stakeholders with actionable insights. Our goal is to move beyond simple statistics and provide a narrative-driven exploration of NYC's crime landscape.

Data Description

This analysis utilizes the NYPD Complaint Data Historic dataset (2015-2024), comprising over 7 million records of reported felonies, misdemeanors, and violations.

Attributes Used

We analyze temporal fields (date, time), spatial attributes (latitude, longitude, precinct), and categorical variables (offense description, premises type).

Preprocessing

Data cleaning involved removing records with missing coordinates (~5%), standardizing offense descriptions, and filtering for the 10-year period to focus on recent trends.

Data Quality & Ethics

While the dataset is comprehensive, it represents reported crimes only. We acknowledge that reporting rates vary by community and crime type. Our analysis focuses on spatio-temporal patterns rather than victim/suspect demographics to avoid stigmatization.

Links