               .data(["Female", "Male"])
               .enter()
               .append("text")
+              .attr("class", "PXGsex")
               .attr("id", "sextext")
               .text((d) -> d)
               .attr("y", bottom[j] + pad.bottom*0.75)

              .data(means)
              .enter()
              .append("line")
              .attr("y1", top[2])
              .attr("y2", bottom[2])
              .attr("x1", (d,i) -> return if(chr is "X") then pxgXscaleX(i) else pxgXscaleA(i))

              .data(genotypes)
              .enter()
              .append("text")
              .attr("class", "PXGgeno")
              .text((d) -> d)
              .attr("y", bottom[2] + pad.bottom*0.25)
              .attr("x",  (d,i) -> return if(chr is "X") then pxgXscaleX(i) else pxgXscaleA(i))
