score:1

At the end I found out how this is done. Here is a gist showing a live example: http://bl.ocks.org/djjupa/5655723

Since my data was "flexible" I recoded it to have "children" elements as the nested selections, so it looks like this:

[{
   "name": "flare",
   "root": "true",
   "children": [
    {
     "name": "analytics",
     "nestedproperties": {
         "children": [
              { "attribute": "attribute1", 
                "type": "type1" },
              { "attribute": "attribute2", 
                "type": "type2" },
              { "attribute": "attribute3", 
                "type": "type3" }
          ]
     },
     "children": [
      {
         "name": "cluster",
         "nestedproperties": {
               "children": [
                   { "attribute": "attribute4", 
                     "type": "type4"
                   },
                      ....
               ]
         }
      },
  ...

Related Query

More Query from same tag