var y = d3.scale
          .linear()
          .domain([yMin, yMax])
          .range([height, 0])
          .nice();