title: D3.js .rangeBands() returning 'undefined' with only the last value?
body: <p>New to D3.js and trying to create a bar graph with 275 sets of values. I used an ordinal scale to position the bars along the x-axis and the last value returns "undefined" and therefore is positioned all the way to the left. I can't figure out why, or how to fix it...</p>
  
  <p>Here's a gist of what I have: <a href="https://gist.github.com/shawnparrotte/2e17c4914771f3ea5fe6" rel="nofollow">https://gist.github.com/shawnparrotte/2e17c4914771f3ea5fe6</a></p>
  
  <p>The function between lines 81-84 is where it goes down, specifically at line 83:</p>
  
  <pre><code>   bands.range()[i]
  </code></pre>
  
  <p>Thanks for taking a look at this!</p>
  
  <p>** Edit: It seems like the ordinal scale only returned 274 values even though I sent it an array of 275 values... see lines 70-73. Strange.</p>