Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawVisualization() {
- var data = google.visualization.arrayToDataTable([['Country', 'Number'],
- ['Canada', 18],
- ['Brazil', 4],
- ['Italy', 3],
- ['France', 6],
- ['Slovakia', 1],
- ['Ireland', 2],
- ['Argentina', 3],
- ['Venezuela', 2],
- ['Malawi', 1],
- ['Australia', 12],
- ['Iran', 1],
- ['Indonesia', 1],
- ['Singapore', 1],
- ['Norway', 1],
- ['unknown(place)', 1],
- ['Slovenia', 1],
- ['Germany', 16],
- ['Belgium', 5],
- ['China', 1],
- ['Poland', 8],
- ['Spain', 4],
- ['Ukraine', 4],
- ['Netherlands', 2],
- ['Bosnia', 1],
- ['Greece', 1],
- ['Denmark', 3],
- ['Philippines', 1],
- ['Finland', 9],
- ['United States', 119],
- ['Sweden', 9],
- ['Belarus', 1],
- ['Hungary', 2],
- ['Switzerland', 1],
- ['New Zealand', 1],
- ['Russia', 9],
- ['Thailand', 1],
- ['Romania', 1],
- ['Greenland', 1],
- ['Honduras', 1],
- ['Portugal', 1],
- ['Estonia', 4],
- ['South Africa', 2],
- ['United Kingdom', 13],
- ['Austria', 1],
- ['Vietnam', 1],
- ['unknown(Western Earthern Republics)', 1],
- ['unknown(space)', 1],
- ['Japan', 1],
- ['South Korea', 1]]);
- var options = {};
- options["height"] = '700px';
- options["width"] = '1500px';
- var geomap = new google.visualization.GeoMap(
- document.getElementById('visualization'));
- geomap.draw(data, options);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement