Coder Social home page Coder Social logo

454400098 / crime_rate_web_app Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 131.71 MB

Crime Rate Scout is an web application that allows user to interactively explore the Gun violence happened between January 2013 and March 2018 within the Range of USA.

License: MIT License

Python 82.81% HTML 0.79% CSS 0.31% JavaScript 15.83% Shell 0.07% C 0.19%
flask-application cartodb mongodb d3 dcjs crossfilter

crime_rate_web_app's Introduction

USA Gun Violence Scout

Crime Rate Scout is an web application that allows user to interactively explore the Gun violence happened between January 2013 and March 2018 within the Range of USA.

User could click a state on the USA MAP, and system would filter all incident by that clicked state, and visualizes them with coordinated view by showing Num of Victim on that clicked state.

Allow user to query the gun violence for a zip code within USA, and our system returns safest area in the neighborhood based on number of gun violence, renders the neighbor map with cartographic boundary for each zip code in the near by.

System Design

We use gun violence dataset From http://www.gunviolencearchive.org to build an Interactive Choropleth Map For USA. Using MongoDB for storing and querying the data, Based On Python, We use Flask to interacts with MongoDb. Front-end, we use D3.js, Dc.js and Crossfilter.js to build graph with interactivity.We use MapShaper to compress and simplify cartographic boundary dataset the use cartoDB to store cartographic boundary for every Zip Code in USA. And renders the map with cartographic boundary for a list of Zipcode nearby the zipcode that was queried by an user.

A working Demo could be Found here

UI After click NY on USA map and group incident by a time range between mid 2014 to mid 2016 UI View to enable search a safe zip code based on the number of gun violence UI2 Result after search UI3 General coordinated view to show trends of gun violence in USA, like Top cities that people got killed, top zip code people got killed. UI4 now we click CA(California), User even can filter those gun violence to find out the information like top cities(all city of California) that people got killed only for that clicked state(California). Result be like: UI5

Installation

Download or clone this repository:

git clone https://github.com/454400098/CRIME_RATE_WEB_APP.git

The dependencies for the project can be installed using

$ pip install -r requirements.txt

License

MIT License. See LICENSE.md.

To get preprocessed dataset

Please Contact me via email [email protected]

Contact

[email protected]

crime_rate_web_app's People

Contributors

454400098 avatar nishant9500 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.