Created
October 10, 2014 05:25
-
-
Save yuu-nkjm/2643128fd3341f477c24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<script src="https://www.google.com/jsapi"></script> | |
<script> | |
google.load('visualization', '1', {packages:['geochart']}); | |
google.setOnLoadCallback(graphChart); | |
function graphChart() { | |
var data = google.visualization.arrayToDataTable([['Country', 'Value'],['Dummy', 0]]); | |
var option = { | |
region: 'world', | |
}; | |
var chart = new google.visualization.GeoChart(document.getElementById('chart')); | |
chart.draw(data, option); | |
} | |
</script> | |
<div id="chart"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment