title: Understanding D3 domain and ranges
body: <p>I have a temperature range of 33 degrees to 64 degrees F. I'm trying to figure out the pixel position of 59 degrees along a y-axis that spans 600 pixels. This is for a column chart.</p>
  
  <p>Full disclosure, this is homework that I've been grappling for a while and simply have not yet figured it out. </p>
  
  <pre><code>var scale = d3.scale.linear().domain([33,64]).range([0,64]);
  </code></pre>
  
  <p>scale(59) returns 53.677419354838705 which is the wrong answer.
  600 - 53.677419354838705 is also the wrong answer.</p>
  
  <p>What might I be missing? </p>
  
  <p>Thank you.</p>