Inspiration

As first-generation American-born children, this project was personal and inspired us to ease the process of moving into the same areas our parents once chose. We aim to provide a thorough crime heat map that is intuitive and easy to use for families. This project is designed to aid renters, expats, and immigrants in finding the safest place in the City of Angels to reside and create a home.

What It Does

Our project provides a comprehensive and interactive crime heatmap of the Greater Los Angeles Area, designed to help current or future homeowners, renters, expats, and immigrants identify the safest neighborhoods to live in. By visualizing crime data, the platform aims to assist families in making informed decisions about where to raise their children or settle in Los Angeles.

How We Built It

  • Built with Python using Flask as the web framework to manage routing and render pages.
  • Crime data is processed with Pandas to extract and organize coordinates from a CSV file.
  • We used Folium to create an interactive heatmap that highlights areas with higher crime density.
  • The user interface consists of HTML files, including: - index.html for the homepage. - map.html for displaying the interactive crime heatmap.

Challenges We Ran Into

  • Initially, we attempted to build the heatmap using the Google Maps API. However, we encountered several challenges:
  • Complex documentation that required significant time to navigate.
  • Integration required extensive knowledge of JavaScript, which our team was less familiar with.
  • Customizing the heatmap's appearance did not meet our expectations. -After struggling with these issues, we pivoted to using Folium, which provided a more seamless integration with Python and simplified the development process.

Accomplishments That We're Proud Of

  • Successfully creating an intuitive and visually appealing crime heatmap using Folium.
  • Overcoming the challenges of integrating third-party APIs by finding a better solution.
  • Developing a functional web application that can genuinely help families and individuals make safer housing decisions in Los Angeles.

What We Learned

-We gained valuable experience in integrating third-party APIs and navigating their documentation.

  • We learned how to use Folium effectively for creating interactive maps.
  • Our understanding of Flask, HTML, and web routing significantly improved throughout the project.

What's Next for Crime Hotspots of the Greater Los Angeles Area

  • Incorporate additional data sets, such as other counties in Southern California, school ratings, housing prices, and public amenities, to provide a more comprehensive neighborhood analysis.
  • Implement a feature for users to report or update crime information to keep the data current and relevant.
  • Enhance the website's design to ensure it is fully responsive and accessible on mobile devices.
  • Use machine learning to analyze historical crime data and predict future crime trends in different areas of Los Angeles.

Built With

Share this project:

Updates