Mexico City Crime Visualization

This app lets you explore and visualize Mexico’s City’s crime investigation folders dataset (it’s in Spanish). The data is biased by the people who report crimes (11%*) and the reports that actually make it to investigation folders (almost 70%*).

https://share.streamlit.io/rafa-javo/cdmx-crime-data-analysis/main/streamlit_app/streamlit_vis.py

App in action:




You can filter data by:

  • type of crime
  • time
    • hour
    • month
    • year

The visualizations are:

  • crime-count comparison (by type of crime)
  • heatmap (helps identifying crime hotspots)
  • yearly crime-count comparison
  • hourly distribution
  • weekly distribution
  • monthly distribution