title: D3.js graph displaying only one dataset
body: <p>I having trouble getting the data on the graph. I only get one data set bar in. </p>
  
  <p>You can see it here : <a href="http://infinite-fjord-1599.herokuapp.com/page2.html" rel="nofollow noreferrer">http://infinite-fjord-1599.herokuapp.com/page2.html</a></p>
  
  <p>But when I console.log the foreach for it. It displays all the objects: </p>
  
  <pre><code>  data.days.forEach(function(d) {
      d.ages = ageNames.map(function(name) { return {name: name, value: +d.values[name]}; });
      console.log(d.ages);
    });
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/55bgn.png" alt="enter image description here"></p>
  
  <p>The code on jsFiddle. <a href="http://jsfiddle.net/NbuFJ/" rel="nofollow noreferrer">http://jsfiddle.net/arnir/DPM7y/</a></p>
  
  <p>I'm very new to d3.js and working with json data so I'm kinda lost here. I took the example of the d3.js example site and modified it.</p>