code: function() {
  
              var self = this;
              var insightsPanel = self.buildInsightsPanel();
  
              var media =
  insightsPanel +
  '<div class="media">' +
  '  <div class="media-left">' +
  // the visual chart as media-object.
  '    <div class="media-object" id="' +
        self.getId('chart') + '">Charts</div>' +
  '  </div>' +
  '  <div class="media-body">' +
  '    <div id="' + self.getId('summary') + '">Summary</div>' +
  '  </div>' +
  '</div>';
  
              $('#' + self.attrId).html(media);
          }
docs: build the dashboard as media object.
  
  build the chart, using corresponding jQuery plugins
  create the summary