softmaxOutputGroups.select("text")
      .attr("class", function (d) {
        if (d.value == maxValueIndex)
          return "highlighted-softmax-output"
        else