{ "cells": [ { "cell_type": "markdown", "id": "9d9329cb-b520-46d3-9fc3-dd491c6e95f4", "metadata": {}, "source": [ "##GGIS 407 Project: Mapping Crime Rate Statistics in the US." ] }, { "cell_type": "markdown", "id": "006853a5-7630-484a-ae06-bfbbe62bd713", "metadata": {}, "source": [ "##Introduction\n", "\n", "Crime is a complex social issue that varies widely across regions, influenced by economic conditions, population density, urban design, \n", "and law-enforcement practices. Mapping crime statistics at the U.S. state level provides a spatial understanding of where and what types of crimes \n", "occur most frequently. This project analyzes and visualizes state-level crime data using the CyberGISX platform, integrating crime statistics with \n", "geospatial data to explore spatial patterns and relationships across the country." ] }, { "cell_type": "markdown", "id": "dbf7ecb8-a905-4be5-a3fa-5d362800afdb", "metadata": {}, "source": [ "##Purpose and Importance of Crime Mapping\n", "\n", "The main goal of this study is to examine how crime rates differ among U.S. states and how violent and property crimes compare spatially.\n", "Mapping crime is essential because:\n", "\n", "Revealing spatial patterns: Visualizing crime rates shows regional differences and highlights states with unusually high or low crime intensities.\n", "\n", "Supporting policy and planning: Law-enforcement agencies and policymakers can identify target areas for intervention and resource allocation.\n", "\n", "Encouraging transparency and awareness: Publicly accessible crime maps promote data-driven discussions on community safety and social equity.\n", "\n", "Integrating urban-planning insight: Comparing crime distributions with demographic and built-environment factors helps planners design safer \n", "and more equitable urban spaces.\n", "\n", "By mapping different crime types—violent (e.g., assault, murder, robbery) and property (e.g., burglary, larceny, motor-vehicle theft)\n", "this project emphasizes that not all crimes follow the same spatial logic or share the same underlying causes." ] }, { "cell_type": "markdown", "id": "fa11a910-7dac-4d71-86ee-1af741332661", "metadata": {}, "source": [ "##3. Data and Methodology\n", "\n", "The dataset used is a state-level U.S. crime CSV containing annual data on total, violent, and property crime rates along with population counts. \n", "For each state, the most recent year of data was extracted in excel.\n", "\n", "Using GeoPandas and Folium within the CyberGISX platform:\n", "\n", "The crime dataset was joined with a U.S. state GeoJSON boundary file.\n", "\n", "Choropleth maps were produced to display the distribution of violent, property, and total crime rates.\n", "\n", "Bubble maps were generated, where circle sizes represented total crime intensity.\n", "\n", "Hover labels and popups were added for interactivity and readability.\n", "\n", "All visualizations used a consistent state-level scale, making cross-comparison intuitive and spatially meaningful." ] }, { "cell_type": "code", "execution_count": null, "id": "452949cd-5810-418f-8b00-d9dae4cb0fa1", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "id": "d4baa034-0f89-4439-acd5-24114ab67aed", "metadata": {}, "source": [ "##MAP 1: Population in each state" ] }, { "cell_type": "code", "execution_count": 39, "id": "91a0cf5f-1604-4a8a-8fe1-094df62664cc", "metadata": {}, "outputs": [ { "data": { "text/html": [ "