anchor.diff:                          break;
                       case 2:
                           initPie();
  -                        console.log(loadDataFromTable("tblWeightedData"));
  -
  +                        var theData = loadDataFromTable("tblWeightedData");
  +                        console.log(theData);
  +                        $('#pieContainer').jqxChart({description: 'Guessed Mood: ' + predGuess});
  +
  +                        // refresh the chart element
  +                        $('#pieContainer').jqxChart('refresh');
  +                        break;
                   }
               };
               var x = "";
  
positive.code:                         var cell = $(row).find('td:eq(' + j + ')');
                          datarow[columnName] = $.trim(cell.text());
                      }
                      data[data.length] = datarow;
                  }
                  return data;
              }
              function getTextFrom(t) {
                  var i = 0;
                  var length = tonePhraseEx.length;
  
negative.code:         <script type="text/javascript" src="scripts/jqx/jqxchart.rangeselector.js"></script>-->
      <script type="text/javascript" src="scripts/jqx/jqx-all.js"></script>
      <script type="text/javascript">
          var predGuess = 0.0;
          var totalPossible = 0.0;
           function loadDataFromTable(id) {
                  predGuess = 0.000;
                  var currentData = $("#pieContainer").jqxChart('getInstance').source.records;
                  var rows = $("#" + id + " tbody tr");
                  var columns = $("#" + id + " thead th");
                  var data = [];
                  for (var i = 0; i < rows.length; i++) {
                      var row = rows[i];
  