This is based on Mike Bostock's demo code in Visualizing Networks with Hive Plots as well as Rich Morin's rework of that demo
Loading demo_2.