Skip to content

anuragbansal009/f1-lap-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Formula 1 Lap Charts

Angular.js NodeJS HTML5 CSS3 JavaScript

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

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

The flags are used from flag-icons. The application is forked from here.

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 http.server 8888 in the frontend directory.
  • The webapp will be available in http:https://localhost:8888. 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.

Screenshot

Screenshot