title: json passing to D3
body: <p>I am trying to load data into a D3 script but have difficulties getting the data prosessed in the Dendogranm example. The data comes from the server as follows:</p>
  
  <pre><code>d3.json( [{"name": "flare", "children": [{"name": "analytics", "children": [{"name": "cluster", "children": [{"name": "AgglomerativeCluster", "size": 3938}, {"name": "CommunityStructure", "size": 3812}, {"name": "HierarchicalCluster", "size": 6714}, etc
  </code></pre>
  
  <p>The following error occurs in the cluster creation: "Uncaught TypeError: Cannot set property 'depth' of undefined"</p>
  
  <pre><code>var nodes = cluster.nodes(root),
      links = cluster.links(nodes);
  </code></pre>
  
  <p>So d3.json is not the proper construct. I assume this must be changed to</p>
  
  <pre><code>var flare = [{"name": "flare", "children": [{"name": "analyti ...
  
  var svg = d3.select("body").append("svg")
  .attr("width", width)
  .attr("height", height)
  .append("g")
  .attr("transform", "translate(40,0)");
  
  var nodes = cluster.nodes( flare ),
    links = cluster.links(nodes);
  
  var link = svg.selectAll(".link")
    .data(links)
  .enter().append("path")
  </code></pre>
  
  <p>Kinds regards supporting me.</p>