title: Facebook web data API and D3.JS
body: <p>I'm trying to build a simple dashboard with one bar chart showing the post of a page I own ranked by number of share. I would like to build this only by using Javascript and D3.JS. I want to use this piece of code :</p>
  
  <pre><code>FB.api(
    '/me',
    'GET',
    {"fields":"id,name,posts{name,shares}"},
    function(response) {
        // Insert your code here
    }
  );
  </code></pre>
  
  <p>From there I want to be able to pass the data into my D3.js code. How can I do this ? Do I need to use node.js or something like that ? I can retrieve the data but I only know I to print them in the javascript console.</p>
  
  <p>I don't want somebody give me the whole code, but an hint what should I do would be great.</p>
  
  <p>thanks,</p>
  
  <p>Simon.</p>