Team:Virginia/Test

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html><iframe width="605.5" height="431.5" src="https://docs.google.com/spreadsheets/d/1fyKqPK_H7J7VfWkJl9fTCEiU_QL_hU0PrdQ6_4uQN4Q/pubhtml?gid=1678070602&amp;single=true&amp;widget=true&amp;headers=false"></iframe></html>
+
<html>
 +
  <head>
 +
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
 +
    <script type="text/javascript">
 +
      google.load("visualization", "1", {packages:["geochart"]});
 +
      google.setOnLoadCallback(drawRegionsMap);
 +
 
 +
      function drawRegionsMap() {
 +
 
 +
        var data = google.visualization.arrayToDataTable([
 +
          ['Country', 'Popularity'],
 +
          ['Germany', 200],
 +
          ['United States', 300],
 +
          ['Brazil', 400],
 +
          ['Canada', 500],
 +
          ['France', 600],
 +
          ['RU', 700]
 +
        ]);
 +
 
 +
        var options = {};
 +
 
 +
        var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));
 +
 
 +
        chart.draw(data, options);
 +
      }
 +
    </script>
 +
  </head>
 +
  <body>
 +
    <div id="regions_div" style="width: 900px; height: 500px;"></div>
 +
  </body>
 +
</html>

Revision as of 02:07, 16 October 2014