• Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lap chart visualization of Formula 1 races.

Formula 1 Lap Charts

Interactive lap chart visualization of Formula 1 races. The application is hosted here.

screenshot

This project is based on the lap chart designed by Chris Pudney. Chris used a custom JSON for a single race. I developed an application that is able to automatically generate the JSON needed to draw the chart for any race starting from the 2011 season.

This application uses Angular JS and gets the race results from the Ergast web service using this Ergast client for NodeJS.

Usage

Download the races data

  • You need to have Node.js installed.
  • Go to the races_updater directory and run npm install.
  • Run node updater.js -h and follow the instructions.

Frontend

  • You need to use an HTTP Server. For example, you can execute python -m SimpleHTTPServer 8080 in the frontend directory.
  • The webapp will be available in http://localhost:8080. You can choose a different port.

If you are using a different host or port, change the DATA_DIR constant in /frontend/app/configuration.js.

License

Creative Commons. Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)