   '#fff'
 ]
 
-
 intensity   = d3.scale.quantile()
 projection  = d3.geo.albers().rotate [120]
 path        = d3.geo.path().projection projection

# type    - Index of type (2000, 2010, total change, % growth)
highlight = (subject, type) ->
  colorRange = __mappings[subject][2] ?= colors
  [min, max] = d3.extent places, (d) -> d.value[subject][type]

  updateInfo subject, type, __mappings[subject]

  intensity.domain([min, max]).range colorRange

  vis.selectAll('.neighborhood:not(.shared):not(.unclaimed)')

  </table>
  "

d3.json 'data/neighborhoods-simplified.json', (pdx) ->
  neighborhoods = topojson.feature pdx, pdx.objects.neighborhoods
  projection.scale(1).translate [0, 0]

  b = path.bounds(neighborhoods)
