Skip to content

HES-SO MSE Visualization Information course project

License

Notifications You must be signed in to change notification settings

cimami/ge-crash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GE-Crash

This project offers a visualization of the traffic accidents that happened since 2010 in Geneva, Switzerland, in a user selected time frame.

This work has been done as part of the HES-SO MSE Visualization Information course.

Application preview

Project documentation

How to use it

Installing and launching the app

    git clone https://github.com/cimami/ge-crash.git
    npm install -g gulp
    npm install
    gulp dev

Updating the data

  • Download the latest version of CSV data and replace the current file in data/CSV_PTC_ACCIDENTS
  • Into data folder, run python csvToJson.py
  • Run gulp copy and then gulp dev

Data sources

Traffic accidents

Data are provided by the SITG (territorial information system of Geneva). Here's a complete description, including the list of features : "Accidents de la circulation (depuis 2010)". The last updated data can be downloaded here (CSV file).

Map

The map comes from OpenStreetMap.

Technologies used

Languages

HTML5, CSS3, Javascript, Python.

Librairies/Frameworks

Bootstrap: open source toolkit for developing with HTML, CSS, and JS.
LeafletJS: open source JS library for mobile-friendly interactive maps.

Authors