SiRumCz / CSC501

CSC501 assignments
0 stars 1 forks source link

D3 visualizations #85

Closed soroushysfi closed 4 years ago

soroushysfi commented 5 years ago

I was able to add adjacency matrix. The problem was with all of the samples were using old versions of d3 and I had to go through documentation to replace the old methods with new ones.

jonhealy1 commented 5 years ago

How did you build the adjacency matrix?

jonhealy1 commented 5 years ago

Looks good! I thought you added a matrix from the subreddit data.

jonhealy1 commented 5 years ago

We need a matrix for the chord diagram too right?

jonhealy1 commented 5 years ago

I made this in python. It shows the weight from canada to other subreddits...

$ matrix1['canada']

TARGET_SUBREDDIT adminbeast 3 alberta 3 ama 1 android 2 androidquestions 1 .. whowouldwin 1 winnipeg 8 worldnews 6 worldpolitics 1 youshouldknow 1 Name: LINK_SENTIMENT, Length: 159, dtype: int64