   water         = topojson.feature pdx, pdx.objects.water
 
   [min, max] = d3.extent blockgroups.features, (d) -> d.properties.b01001e1
+
   intensity.domain([min, max]).range colors
 
   projection.scale(1).translate [0, 0]
 
   b = path.bounds(blockgroups)
+  console.log b
   s = .99 / Math.max((b[1][0] - b[0][0]) / width, (b[1][1] - b[0][1]) / height)
   t = [(width - s * (b[1][0] + b[0][0])) / 2, (height - s * (b[1][1] + b[0][1])) / 2]
 

path        = d3.geo.path().projection projection

tip = d3.tip().attr('class', 'tip').offset([-3, 0]).html (d) ->
  "<h3>#{d.name} <span>#{d.subject}</span></h3>
  <table>
    <tr>
      <th>2000</th>
      <th>2010</th>
      <th>% Change</th>
      <th>+/-</th>
    </tr>
    <tr>
      <td>#{format d.data[0]}</td>
      <td>#{format d.data[1]}</td>
      <td>#{d.data[3]}</td>
      <td>#{format d.data[2]}</td>
    </tr>
  </table>
  "

d3.json 'data/pdx.json', (pdx) ->
  neighborhoods = topojson.feature pdx, pdx.objects.neighborhoods

#= require mappings
#= require grid
return
width  = 900
height = 680
vis    = null
