rmit-programming-club / network-vis

A tool to visualisation coding activity and collaboration within a Github Organisation
GNU General Public License v3.0
9 stars 2 forks source link

Scale network graph nodes by node 'activity' level #35

Open thundergolfer opened 7 years ago

thundergolfer commented 7 years ago

Description

We want members who participate more on Github to be bigger. Simple as that. "Activity" or "Participation" can be just the amount of Events associated with the user in the past X days where X could be just 30. Remember a User objects events can be accessed by user.events.

The size of the node shouldn't scale linearly or quadratically or whatever with number of events. Logarithmic scaling is probably more appropriate, tuned to what looks best. ie. something like 100 events twice the size of 10 events which is twice the size of 1 events.

Basic Implementation Direction

This will be implemented in javascript and become a function that sets the size of a D3.js node according to the value of the node's key in the data payload.