An open API service indexing awesome lists of open source software.

https://github.com/code-flu/angular-bar-chart-race

Angular application that creates animated bar chart races using the D3.js library
https://github.com/code-flu/angular-bar-chart-race

angular angular15 barchartrace typescript

Last synced: 10 months ago
JSON representation

Angular application that creates animated bar chart races using the D3.js library

Awesome Lists containing this project

README

          

https://github.com/code-flu/angular-bar-char-race/assets/104217888/6f1c44d0-6412-4438-9571-8dcfe9d48ca8

# Angular Bar Chart Race
Angular application that implements a bar chart race using the D3.js library. The bar chart race is a dynamic visualization that displays the change in rankings of a set of categories over time through animated bars.

### Key Features:

- Dynamic bar chart race visualization using D3.js in an Angular application.
- Load custom data or utilize sample data to create the race.
- Smooth and animated transitions between data updates.
- Customizable settings for bar colors, labels, duration, and other visual aspects.
- Responsive design to adapt to different screen sizes.

## How to run on local machine
1. Clone the repository: `git clone https://github.com/code-flu/angular-bar-chart-race.git`
2. Navigate to the project directory: `cd angular-bar-chart-race`
3. Install project dependencies : `npm install`
4. Start the server: `ng serve`

> [LIVE DEMO](https://stackblitz.com/edit/angular-bar-chart-race?file=src%2Fmain.ts)

#### Watch the YouTube videos created using this repository
- [Most Nuclear Weapons Countries (1945-2022)
](https://youtu.be/-udMpfZG_QU)
- [Top Causes of Global Deaths (1990-2019)](https://youtu.be/IFSfC_jDk9k)

### Reference
https://observablehq.com/@d3/bar-chart-race-explained