     .attr("cx", (d) -> xa(d.weight_change) + 15)
     .attr("cy", (d) -> ya(d.ahi_change))
     .attr("r", 5)
+    .style("fill", "#1765BC")
+  .filter((d) -> d.weight_change == x1)
+    .style("fill", "#ffa400")
 
   svg.selectAll("text").data(data)
     .enter().append("text")

  window.ya = ya


draw_ahi_graph2 = () ->
  # x = [ - 20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
  x = [ - 20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0]
  data = []


output_AHI_change = (x,y) ->
  $("#ahi").removeClass "hidden"
  draw_ahi_graph2(x)


draw_bmi_graph = () ->
