title: D3.js use hardcode json to implement treemap wrong(Just COPY the demo code and it failed)
body: <p>I am new to know D3.js, and I try to use the treemap of it, and I copy the demo code and change the link of outer json file to hardcode, and when I run it, it met a problem. Here is the original demo and tutorial:
  <a href="https://secure.polisci.ohio-state.edu/faq/d3/zoomabletreemap_code.php" rel="nofollow">https://secure.polisci.ohio-state.edu/faq/d3/zoomabletreemap_code.php</a>
  and the link to the demo is at the bottom of this page.</p>
  
  <p>And here is my code:
  <a href="http://jsfiddle.net/cR35x/2/" rel="nofollow">http://jsfiddle.net/cR35x/2/</a></p>
  
  <p>To load the hardcode json, I changed this function, please pay attention here:</p>
  
  <pre><code>    var json = [......];
      d3.json(json, function(root) {
      root = json;
      initialize(root);
      accumulate(root);
      layout(root);
      display(root);
      .......
  </code></pre>
  
  <p>It didn't show the right thing as the demo. Could someone give me any help? Thanks!</p>
  
  <p>Another question, when I run it locally without any server with chrome, just like the url:</p>
  
  <p>file:///C:/Users/Administrator/Downloads/treemap/treemap.html</p>
  
  <p>It shows nothing but a gray square, without any words or links on it. And for chrome, I have already set the tag: allow-file-access-from-files.</p>
  
  <p>Thanks!</p>