Inspiration
Inspiration for this project was the increasing crime rates throughout the United States, so we decided to track these staggering rates and test to see which cities have maintained security and are staying safe amongst all these crimes.
What it does
Using an algorithm that weighs each crime based on the jail time received for committing it, a safety score is created and scaled to 100 for each city. We do this for each city for the past 3 years of data that we got from the FBI official webpage. From there, when you select a city in the UI, the map zooms in and on the right hand side of your screen is the safety score average, along with the trend of the past 3 years, whether it be getting safer, more dangerous, or stays about the same.
How we built it
We built it using javascript and HTML, with CSS for styling. We started by implementing the backend functions and then later connected it with the frontend UI.
Challenges we ran into
The main challenges we ran into had to do with the data, as parsing the data and inputting it into a map was a big problem, as the google map plugin took a very specific token, so we had to parse the data to fit that token, in order to get that corresponding value for that token in our created mapping of variables.
Accomplishments that we're proud of
We are proud of the typing animation and the map that we tied into the UI. The map brought us several challenges as we had to learn all new things to deal with it because we had never used it before. With the animation, it was a lot of new material again, so getting it to work was very satisfying.
What we learned
We learned frontend and backend fundamentals, as well as actually incorporating both together to display data on a map interface and in a text box. In addition to this, we learned about animating text using CSS, something that none of us had done before.
What's next for Safer Tomorrow
Next, we must expand our database. Currently we only have cities in Texas, but using a larger database, not in house, we will be able to expand the Safer Tomorrow database to not only the United States, but the entire world.
Log in or sign up for Devpost to join the conversation.