title: How do I load JSON data
body: <p>Thanks.</p>
  
  <p>UPDATE 1
  Thanks! So I use this↓
  But it has warning "Uncaught TypeError: undefined is not a function " ;(</p>
  
  <pre><code>&lt;script&gt;
  (function(){
     var nytg = nytg || {}
     $.getJSON("test.json", function(error,root) {
       nytg.ipoData = root
       console.log(root)
     })
   }());  
  &lt;/script&gt;
  </code></pre>