title: Is d3.json() function can get json object?
body: <p>I am new to JQuery / d3js world.</p>
  
  <p>I would like to draw a chart from data in json format.
  I saw i some samples that <code>d3.json(json,f)</code> function can get only file with data in json format.
  My question: is it possible to call it with json like object or string in json format,for example:</p>
  
  <pre><code>val jsonStr = { "foo" : "bar"}
  d3.json(jsonStr ,f)
  </code></pre>
  
  <p>If not how can I draw a chart with dynamic data (in json format)</p>