Team:Virginia/Test
From 2014.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
]); | ]); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | var | + | var data2 = google.visualization.arrayToDataTable([ |
['Region Code', 'Sub-Continent', 'Popularity'], | ['Region Code', 'Sub-Continent', 'Popularity'], | ||
['005', 'South America', 200], | ['005', 'South America', 200], | ||
Line 43: | Line 29: | ||
var chart = new google.visualization.GeoChart(document.getElementById('regions_div')); | var chart = new google.visualization.GeoChart(document.getElementById('regions_div')); | ||
+ | var chart2 = new google.visualization.GeoChart(document.getElementById('regions_div2')); | ||
chart.draw(data, options); | chart.draw(data, options); | ||
+ | |||
+ | chart2.draw(data2, options); | ||
} | } | ||
</script> | </script> | ||
+ | |||
+ | |||
</head> | </head> | ||
<body> | <body> | ||
<div id="regions_div" style="width: 900px; height: 500px;"></div> | <div id="regions_div" style="width: 900px; height: 500px;"></div> | ||
+ | <div id="regions_div2" style="width: 900px; height: 500px;"></div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 03:05, 16 October 2014