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

  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)
  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]


  .enter().append('path')
    .attr('class', (d) -> "blockgroup")
    .attr('d', path)
    .style('fill', (d) -> intensity(d.properties.b01001e1)
    )
    .on('mouseover', tip.show)
    .on('mouseout', tip.hide)

  vis.selectAll('.neighborhood')
    .data(neighborhoods.features)
