https://github.com/memgraph/twitch-analytics-demo
Visualization of Twitch analytics.
https://github.com/memgraph/twitch-analytics-demo
Last synced: 10 months ago
JSON representation
Visualization of Twitch analytics.
- Host: GitHub
- URL: https://github.com/memgraph/twitch-analytics-demo
- Owner: memgraph
- License: mit
- Created: 2021-07-22T11:05:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T15:34:51.000Z (almost 4 years ago)
- Last Synced: 2023-03-07T01:43:12.154Z (about 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 14.2 MB
- Stars: 26
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Twitch Analytics Demo
## :open_file_folder: Dataset
The data was collected using [Twitch API](https://dev.twitch.tv/docs/api/). The files which we'll use are located in `/backend/import-data/` folder and are called: `streamers.csv`, `teams.csv`, `vips.csv`, `moderators.csv` and `chatters.csv`.
## :arrow_forward: Starting the app
You can simply start the app by running:
```
docker-compose build
docker-compose up core
docker-compose up twitch-app
```
If you get the error `mgclient.OperationalError: couldn't connect to host: Connection refused` please try running `docker-compose up twitch-app` again.
When data loading is done, run:
```
docker-compose up react-app
```
Check out the app at `localhost:3000`.
To start streaming the rest of the data run:
```
docker-compose up twitch-stream
```
Notice how the number of nodes and edges are changing on the navigation bar. Also if you refresh the results of the PageRank below, you'll see the rank difference.
## :bar_chart: General statistics
Choose from top games, teams, vips, moderators or streamers.

## :eyes: Graph visualization
Find your favorite streamer or the streamers who stream your favorite game in your language.

Check out the **PageRank** and **Betweenness Centrality** [MAGE](https://memgraph.com/docs/mage) algorithms.
