I'm not sure if this is the answer (I think it is), or should I post this as a comment BUT here with your code:
d3.hierarchy()
"" "" , partition(root)
.
https://bl.ocks.org/maybelinot/5552606564ef37b5de7e47ed2b7dc099, , d3.hierarchy()
{name: "flare", children: Array[15]}
, data
, :
{name: "test", children: data}
, .
FIDDLE . (, arrayToObject
)
, .:)