Interactive lap chart visualization of Formula 1 races. The application is hosted here.
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.
- You need to have Node.js installed.
- Go to the
races_updater
directory and runnpm install
. - Run
node updater.js -h
and follow the instructions.
- You need to use an HTTP Server. For example, you can execute
python -m SimpleHTTPServer 8080
in thefrontend
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
.
Creative Commons. Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)