Skip to content

Instantly share code, notes, and snippets.

@colinpollock
Created September 8, 2012 21:59
Show Gist options
  • Save colinpollock/3680120 to your computer and use it in GitHub Desktop.
Save colinpollock/3680120 to your computer and use it in GitHub Desktop.
Sample graph data for ladder visualization
{
"nodes": [
{"player": "Andy", "rating": 1640},
{"player": "Bob", "rating": 1570},
{"player": "Carmen", "rating": 1590}
],
"edges": [
{"p1": "Bob", "p2": "Andy", "difference": 50},
{"p1": "Carmen", "p2": "Bob", "difference": 20},
{"p1": "Andy", "p2": "Carmen", "difference": 10}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment