Giter VIP home page Giter VIP logo

skrohk / data-vizualization-bicycles Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23.04 MB

The cycling policy of recent years has been greatly improved and the health context has greatly influenced transport. The main goal of this project is to observe the evolution of the bicycles, cycling infrastructures and remaining problems in Paris.

Home Page: https://bike-the-way.netlify.app/

JavaScript 27.77% HTML 1.24% Vue 45.55% CSS 0.12% TypeScript 25.32%
data-visualization bicycle-infrastructure bycicle paris soft-mobility sustainable development

data-vizualization-bicycles's Introduction

Data visualization about bicycles in Paris

A preview of this project is available here.

Bike the way project

Context

This project has been developped by two students of the engineering school Centrale Lyon interested in sustainable development and soft mobility (Lucas Ruston and Gaëtan Gelineau). It has been developed during the Centrale Lyon's data visualization course.

The cycling policy of recent years has been greatly improved and the health context has greatly influenced transport. Therefore, the goal of this project is to observe the evolution of the bicycles, cycling infrastructures and remaining problems in Paris. This project use multiple data sources : Open Data from Paris city, data from the "Baromètre cyclable des villes", data from the Vélib station, ect... In order to see an exhaustive list of all data used, refer to the sources section.

Project architecture

The project have been made with Vue 3, Leaflet and the D3 library. D3 graphics can be seen in the src/graph folder, the Map component (located in src/Graph.vue) contains all the data plotting on the map and the map itself.

The ruston_gelineau_rendu_data_visualisation (1).pdf contain paper models of the project for the data visualization course in Centrale Lyon.

Project setup

npm install

Compiles and hot-reloads for development

export NODE_OPTIONS=--openssl-legacy-provider
npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Sources used for this project

  • The counter location dataset from Paris Open Data website : here
  • The counter dataset from Paris Open Data website : here
  • The dataset from the FUB about the opinion provided by cyclists : here
  • The vélib location dataset : here
  • Length of bicycle lanes from Paris Open Data website here
  • Accidents involving bicycles here

Data formatting

The datasets used in this projet are located in the public/data folder, along with some scripts used to parse and format them. To avoid loading all the data at once in the website (which would result in really slow loading time), this web app is loading each dataset separately when needed (for instance when clicking on a specific counter, the graph data for that counter is loaded)

As explained above, most of this data was obtained from open data websites, and we used a scraping script (public/data/scrapper.js) to fetch all the counters datasets and format them.

Some formatting and filtering was also done in the script public/data/computeStatistics.js and we computed the districts score with public/data/districtScores.js

The use of d3 geoContains method, combined with geojson datasets, allowed us to dynamically determine in which district of Paris a given point is located. We used this to compute data for each district's cycling score.

data-vizualization-bicycles's People

Contributors

gaetan35 avatar skrohk avatar

Watchers

 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.