title: d3.scale.linear() vs d3.scaleLinear()
body: <p>Hi I'm looking at the <a href="https://github.com/d3/d3-scale" rel="noreferrer"><strong>documentation</strong></a> for scales and it shows a format like this <code>var x = d3.scaleLinear([10,130]).range([0,960])</code> I feel like this is strange because most <a href="http://bl.ocks.org/d3noob/e1aa61856118edfa624d" rel="noreferrer"><strong>examples</strong></a> that I see online use something like this: </p>
  
  <p><code>var x = d3.scale.linear().domain([10,130]).range([0,960])</code> and it works.</p>
  
  <p>If I use <code>var x = d3.scaleLinear([10,130]).range([0,960]);</code> I get an error like </p>
  
  <blockquote>
    <p>TypeError: d3.scaleLinear is not a function</p>
  </blockquote>
  
  <p>Why do you think there is a discrepancy between the examples in the documentation and what I see in examples online? maybe I don't understand how to read documentation.</p>
  
  <p>EDIT : <a href="https://github.com/mbostock/d3/wiki/Quantitative-Scales" rel="noreferrer">This</a> is the current documentation for scales.</p>