Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thundergolfer opened this issue Jul 21, 2017 · 0 comments
Open

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

thundergolfer opened this issue Jul 21, 2017 · 0 comments

Comments

@thundergolfer
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant