      .attr("dominant-baseline", "middle")
      .attr("text-anchor", "middle")
 
+  grp4BkgdHist = lowsvg.append("g")
 
   histline = d3.svg.line()
         .x((d,i) -> lowxScale(br2[i]))

                      .attr("stroke", curcolor)
                      .attr("stroke-width", "2")
              else
                lowsvg.select("path##{d}").remove()
            )

  # box around the outside

                d3.select(this).attr("opacity", "0")
                svg.select("rect##{d}").attr("fill", curcolor)

                grp4BkgdHist.append("path")
                      .datum(data.counts[d])
                      .attr("d", histline)
                      .attr("id", d)
