Skip to content

This is the repository for an open source dashboard written HTML and JavaScript using the Jquery as the main framework.

Notifications You must be signed in to change notification settings

Geobuddy/Crime-Dashboard

Repository files navigation

Chicago Crime-Dashboard

Description

This project is an implementation of an open-source dashboard for crime analysis and visualisation. Click this link to access the deployed version of the dashboard.

Technical Guide

To deploy this application use the following steps:

  1. Open the terminal and navigate to the folder where the repository will be cloned into.

cd folder/to/clone-into/

  1. Clone the repository into your local repository by inserting the command below in the terminal.

git clone https://github.com/Geobuddy/Crime-Dashboard.git

  1. Deploy the application using a local host for example Node.js live-server.

Note: The App can also be deployed remotely using Heroku and GithubPages

Data Resources

Graphical User Interface

The graphical user interface is an interactive component that enables the interaction between an electronic device and a user. Figure 1 shows the implementation of a user-friendly graphical interface intended to enhance the user experience (UX). The main components of the interface are highlighted in red boxes. These are the sidebar comprising the filtering parameters (e.g. Offence Group and Dates), a map and collapsible buttons that display graphs when clicked.

Screenshot 2019-08-20 at 10 46 12

Figure 1: Chicago Crime Dashboard graphical user interface.

Visualisation

In this project, we have used Open Street Map (OSM) and Carto DB basemaps which can be displayed by checking the according box in the leaflet layer control located on the top right corner of the map. The basemaps can be overlain by three distinct mapping layers. Three distinct mapping visualisation techniques were adopted, a choropleth map Figure 2, a heatmap Figure 3 and a cluster map Figure 4. A mouse pointing highlight function is available in the choropleth map enabling the user to visualise information dynamically about the chosen community area. This information is displayed in an information box located on the top right corner of the map.

Screenshot 2019-08-20 at 10 46 12

Figure 2: Choropleth map showing crime rate in Chicago.

Screenshot 2019-08-20 at 10 46 12

Figure 3: Heatmap showing crime density in Chicago.

Screenshot 2019-08-20 at 10 46 12

Figure 4: Cluster map crime clusters in Chicago.

Analysis

The analysis section shown in (Figure 5), is a section of the dashboard in which the user can input two different crime type variables under the “Offence Group” dropdown to visualise and compare their trends. Similar to the graphs and charts in the previous section, this section enables the user to carry out a comparative analysis between two crime types identifying whether certain crimes follow similar trends and patterns.

Screenshot 2019-08-20 at 10 49 48

Figure 5: shown the analytic section of the dashboard under the analysis tab. In this section, the user can compare statistics between two distinct crime types.

Data

The Data section of the dashboard enables the user to navigate to a new page (Figure 6) where data is displayed in table form. Similar to the main page the user can filter the data using the sidebar on the left. For further filtering of the data, the user can type inside the search space inbuilt in the table as well as ordering the table in ascending and descending order.

Screenshot 2019-08-13 at 23 53 05

Figure 6: Show crime data presented in table form under the Data section of the dashboard.

Copyright Statement

Copyright 2019 Adilson Pacheco and SpaceTimeLab UCL.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

THIS STATEMENT APPLIES ONLY TO THE CODE IN THIS NOTEBOOK! THE RESOURCES USED (LIBRARIES, FILES, ... ) ARE NOT CREATED NOT OWNED BY US AND THEREFORE THE USE OF THEM FOLLOWS THEIR OWN COPYRIGHT RULES

About

This is the repository for an open source dashboard written HTML and JavaScript using the Jquery as the main framework.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages