   # names will also be used to color the bars
   colorScale = d3.scale.ordinal()
     .range(["#CD0000","#FF82AB","#FFB5C5","#87CEFF","#B0E2FF",
-    "#FFDAB9","#FFDEAD","#FFEFDB","#F0FFF0",
+    "#BFEFFF","#FFDAB9","#FFDEAD","#FFE4C4",
     "#d4d8dd"])
 
   # yPadding is removed to make room for country names


    legend = d3.select("#legend")
      .append("svg")
      .attr("width", 500)
      .attr("height", 500)

    keys = legend.selectAll("g")

      .attr("transform", (d,i) -> "translate(#{0},#{40 * (i + 1)})")

    keys.append("rect")
      .attr("width", 10)
      .attr("height", 10)
      .attr("fill", (d) -> colorScale(d.name))

    keys.append("text")
      .text((d) -> d.name)
      .attr("text-anchor", "left")
      .attr("dx", "1.2em")
      .attr("dy", "1em")

  return chart
