Skip to content

davidor/formula1-lap-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Lap chart visualization of Formula 1 races.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published