title: D3.js - Assigning X and Y axis domain as max and min of data
body: <p>Working with JSON data, I am able to set a domain X and Y to the minimum and maximum value of their respective data attributes, using</p>
  
  <pre><code>.y(d3.scale.linear().domain([0, d3.max(data, function(d) { return d.peopleVisited + 100; })]))
  </code></pre>
  
  <p>Here is an exemplary jsFiddle : <a href="http://jsfiddle.net/5H3Ay/15/" rel="nofollow">http://jsfiddle.net/5H3Ay/15/</a></p>
  
  <p>Can someone please suggest how to achieve this with csv data, using d3.csv()?</p>