title: c3js: Uncaught TypeError: c.forEach is not a function
body: <p>I'm trying to create a simple line-graph of points using a timeseries axis, but the chart doesn't render and my browser console shows the error:</p>
  
  <p><strong><code>c3.min.js Uncaught TypeError: c.forEach is not a function</code></strong></p>
  
  <p>Here's my javascript:</p>
  
  <pre><code>var chart = c3.generate({
    bindto: '#chart',
    data: {
      json: [
        {date: "2016-01-01", pageviews: 1},
        {date: "2016-01-02", pageviews: 2},
        {date: "2016-01-03", pageviews: 3},
        {date: "2016-01-04", pageviews: 4},
        {date: "2016-01-05", pageviews: 5}],
      keys: {
        x: 'date',
        value: 'pageviews'
      }
    },
    axis: {
      x: {
        type: 'timeseries',
        tick: {
          format: '%Y-%m-%d'
        }
      }
    }
  });
  </code></pre>
  
  <p>And <a href="https://jsfiddle.net/td194yd9/" rel="nofollow">here's a jsfiddle</a> which uses the un-minified sources for D3 and C3 and gives the following browser console error: <strong><code>Uncaught TypeError: targetKeys.forEach is not a function</code></strong></p>