Télésport is a student project, aiming to learn front-end development with Angular. Télésport is a data visualization project focused on presenting Olympic Games data in an interactive and engaging way. The project features a home page with a pie chart showcasing medals per country, alongside general data on the Olympic Games. Users can click on a portion of the pie chart to access detailed country-specific data, presented in a dynamic line chart format.
This project was generated with Angular CLI version 14.1.3,
Update: the project has been migrated to Angular version 17.2.4.
The following stack has been used to complete the project
RxJSfor the Observablesngx-chartsto render the charts
Don't forget to install your node_modules before starting (
npm install).
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
The project has the following structure:
componentsfolder: contains every reusable componentspagesfolder: contains components used for routingcorefolder: contains the business logic (services,modelsfolders for the Types)
- All the components has been set to standalone, with the command
ng generate @angular/core:standalone app-routing.module.tshas been replaced withapp-routes.tsto fit Angular 17 starter projects standards, and routing has been simplified
