MCPcopy Index your code
hub / github.com/KiranGershenfeld/VisualizingTwitchCommunities

github.com/KiranGershenfeld/VisualizingTwitchCommunities @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
167 symbols 448 edges 26 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

VisualizingTwitchCommunities

This project maps communities of streamers on Twitch.tv based on shared viewership. The data is collected from the Twitch API and visualized in Gephi.

Results

Twitch-Communities-High-Res.png

I wrote an article on TowardsDataScience here

If your curious about how to read this graph and why I made it, check out the article.

How can I mess with the graph?

I made the graph in a free data visualization tool called Gephi. Download it here The data set is in Visulization/GephiData . In gephi go to laboratory and import the edge file as an edgelist. Then import the label file as a node list. From there you can go to overview and run a modularity analysis on the nodes to detect communities.

How can I collect more data?

The DataCollection folder has a script called main that can be ran to collect the top 100 streams and all their viewers and save it to a csv. You can use the windows task scheduler to run this task at any time interval you like and build up data over long periods of time.

Core symbols most depended-on inside this repo

f
called by 61
Website/js/sigma/sigma.js
d
called by 60
Website/js/sigma/sigma.js
h
called by 29
Website/js/sigma/sigma.js
p
called by 18
Website/js/excanvas.js
n
called by 14
Website/js/fancybox/jquery.fancybox.pack.js
b
called by 14
Website/js/sigma/sigma.js
c
called by 14
Website/js/sigma/sigma.js
i
called by 12
Website/js/sigma/sigma.js

Shape

Function 141
Method 22
Class 4

Languages

TypeScript83%
Python13%
Java5%

Modules by API surface

Website/js/jquery/jquery.min.js42 symbols
Website/js/excanvas.js22 symbols
Website/js/sigma/sigma.min.js17 symbols
Website/js/sigma/_sigma.min.js16 symbols
Website/js/sigma/sigma.js15 symbols
Website/js/main.js11 symbols
AtlasGeneration/Python/CalculateOverlaps.py11 symbols
AtlasGeneration/Java/App.java8 symbols
web-react/src/components/GraphView.js7 symbols
Website/js/fancybox/jquery.fancybox.pack.js6 symbols
DataCollection/Lambda2/lambda_function.py4 symbols
DataCollection/Lambda1/lambda_function.py2 symbols

For agents

$ claude mcp add VisualizingTwitchCommunities \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact