Python script that writes javascript files necessary to create hive plots in D3