Google Chart API - Answer

Your client, DataSet Corp, has asked for an interactive web based chart showing the change in revenue from 2005 until now. They would also like the overall average revenue to be reflected in the chart. Be sure to add a title, label axes, and reflect the red and black color scheme used by DSC.

HTML

<script src="http://www.google.com/jsapi?ext.js"></script>
<div id="g_table"></div>

CSS

#g_table {
    width: 900px;
    height:500px;
}

JavaScript

var jsonData = {
  "cols": [
        {"id":"","label":"Topping","pattern":"","type":"string"},
        {"id":"","label":"Slices","pattern":"","type":"number"}
      ],
  "rows": [
        {"c":[{"v":"Mushrooms","f":null},{"v":3,"f":null}]},
        {"c":[{"v":"Onions","f":null},{"v":1,"f":null}]},
        {"c":[{"v":"Olives","f":null},{"v":1,"f":null}]},
        {"c":[{"v":"Zucchini","f":null},{"v":1,"f":null}]},
        {"c":[{"v":"Pepperoni","f":null},{"v":2,"f":null}]}
      ]
};

function drawTable() {
   // Create our data table out of JSON data loaded from server.
   var data = new google.visualization.DataTable(jsonData);
   var table = new google.visualization.Table(document.getElementById('g_table'));
   table.draw(data, {showRowNumber: true});
}

google.load("visualization", "1", {packages:["table"]});
google.setOnLoadCallback(drawTable);