").append('<th ><i class="cell-' + d.replace(" ", "") + '">' + "" + '</i></th>');


          var a = [];
          for (var i = len - showLen; i < len; i++) {
            a.push(places[d].a[i]);
          }

          $("." + 'cell-' + d.replace(" ", "")).sparkline(a, {
            type: 'line',
            lineColor: '#bf0000',
            fillColor: '#ffd4aa',
            disableTooltips: true
          });


          //place blocks into each cell based on the that day's data
          for (var i = len 