You find below the HTML code of the visualisation. You can copy and paste the code into an existing HTML page. For more information see also ?print.gvis
<!-- Table generated in R 2.15.0 by googleVis 0.2.15 package --> <!-- Sat Mar 3 22:45:19 2012 --> <!-- jsHeader --> <script type="text/javascript" src="http://www.google.com/jsapi"> </script> <script type="text/javascript"> // jsData function gvisDataSummary_table () { var data = new google.visualization.DataTable(); var datajson = [ [ "AD", "Andorra", null, null, 0.1 ], [ "AE", "United Arab Emirates", 76.4, 24.8, 6.9 ], [ "AF", "Afghanistan", 47.9, 16.8, 33.4 ], [ "AG", "Antigua and Barbuda", null, null, 0.1 ], [ "AL", "Albania", 76.8, 14.5, 3.2 ], [ "AM", "Armenia", 73.6, 7.7, 3.1 ], [ "AO", "Angola", 50.3, 17.3, 18.6 ], [ "AR", "Argentina", 75.5, 10.3, 40.1 ], [ "AS", "American Samoa", null, null, 0.1 ], [ "AT", "Austria", 80.1, 11.5, 8.4 ], [ "AU", "Australia", 81.5, 10.7, 22 ], [ "AW", "Aruba", 74.8, 9.2, 0.1 ], [ "AZ", "Azerbaijan", 70.3, 9.5, 8.9 ], [ "BA", "Bosnia and Herzegovina", 75.3, 15.1, 3.8 ], [ "BB", "Barbados", 76.4, 11.9, 0.3 ], [ "BD", "Bangladesh", 68.3, 20.5, 147 ], [ "BE", "Belgium", 79.7, 9.6, 10.8 ], [ "BF", "Burkina Faso", 54.5, 18.6, 16 ], [ "BG", "Bulgaria", 73.4, 4.2, 7.6 ], [ "BH", "Bahrain", 74.9, 23.1, 1.2 ], [ "BI", "Burundi", 49.4, 8.2, 8.2 ], [ "BJ", "Benin", 55.2, 19.6, 8.6 ], [ "BM", "Bermuda", 79.1, null, 0.1 ], [ "BN", "Brunei Darussalam", 77.8, 15.5, 0.4 ], [ "BO", "Bolivia", 66, 23.3, 9.8 ], [ "BR", "Brazil", 72.8, 18.3, 193.2 ], [ "BS", "Bahamas, The", 75, 11.8, 0.3 ], [ "BT", "Bhutan", 66.5, 29.4, 0.7 ], [ "BW", "Botswana", 53, 2.5, 2 ], [ "BY", "Belarus", 70.4, 2.1, 9.5 ], [ "BZ", "Belize", 75.6, 14.7, 0.3 ], [ "CA", "Canada", 80.7, 9.6, 33.7 ], [ "CD", "Congo, Dem. Rep.", 47.8, 6.8, 64.2 ], [ "CF", "Central African Republic", 46.9, 10.4, 4.3 ], [ "CG", "Congo, Rep.", 56.6, 8, 3.9 ], [ "CH", "Switzerland", 82, 10.7, 7.7 ], [ "CI", "Cote d'Ivoire", 54.1, 13.7, 19.4 ], [ "CL", "Chile", 78.8, 21.8, 17 ], [ "CM", "Cameroon", 50.6, 9.1, 19.2 ], [ "CN", "China", 73.1, 29.6, 1331.4 ], [ "CO", "Colombia", 73.2, 16.5, 45.7 ], [ "CR", "Costa Rica", 79.1, 17.5, 4.6 ], [ "CU", "Cuba", 78.8, 15.1, 11.3 ], [ "CV", "Cape Verde", 73.6, 24.9, 0.5 ], [ "CW", "Curacao", null, null, 0.1 ], [ "CY", "Cyprus", 79.2, 9.6, 1.1 ], [ "CZ", "Czech Republic", 77.1, 6.8, 10.5 ], [ "DE", "Germany", 79.8, 10.2, 81.9 ], [ "DJ", "Djibouti", 57.1, 18.6, 0.9 ], [ "DK", "Denmark", 78.6, 6.4, 5.5 ], [ "DM", "Dominica", null, null, 0.1 ], [ "DO", "Dominican Republic", 73, 21.2, 9.8 ], [ "DZ", "Algeria", 72.6, 25.6, 35 ], [ "EC", "Ecuador", 75.3, 22.2, 14.3 ], [ "EE", "Estonia", 74.8, 6.2, 1.3 ], [ "EG", "Egypt, Arab Rep.", 72.7, 26.8, 79.7 ], [ "ER", "Eritrea", 60.6, 21.5, 5.1 ], [ "ES", "Spain", 81.5, 12.4, 45.9 ], [ "ET", "Ethiopia", 58.1, 19.7, 81.2 ], [ "FI", "Finland", 79.7, 10.9, 5.3 ], [ "FJ", "Fiji", 69.1, 13.1, 0.9 ], [ "FM", "Micronesia, Fed. Sts.", 68.6, 11, 0.1 ], [ "FO", "Faeroe Islands", null, null, 0 ], [ "FR", "France", 81.1, 11.2, 64.5 ], [ "GA", "Gabon", 61.8, 22.2, 1.5 ], [ "GB", "United Kingdom", 80.1, 9, 61.8 ], [ "GD", "Grenada", 75.5, 12.4, 0.1 ], [ "GE", "Georgia", 73.1, 9.7, 4.4 ], [ "GH", "Ghana", 63.4, 17.4, 23.8 ], [ "GI", "Gibraltar", null, null, 0 ], [ "GL", "Greenland", null, null, 0.1 ], [ "GM", "Gambia, The", 57.8, 24.3, 1.7 ], [ "GN", "Guinea", 53.2, 20.8, 9.8 ], [ "GQ", "Equatorial Guinea", 50.5, 13.8, 0.7 ], [ "GR", "Greece", 80.2, 11.5, 11.3 ], [ "GT", "Guatemala", 70.6, 24.9, 14 ], [ "GU", "Guam", 75.8, 14.6, 0.2 ], [ "GW", "Guinea-Bissau", 47.3, 12.8, 1.5 ], [ "GY", "Guyana", 69.2, 16.4, 0.8 ], [ "HK", "Hong Kong SAR, China", 82.7, 15.7, 7 ], [ "HN", "Honduras", 72.5, 26.3, 7.4 ], [ "HR", "Croatia", 76.2, 10.2, 4.4 ], [ "HT", "Haiti", 61.4, 19.3, 9.9 ], [ "HU", "Hungary", 73.9, 5.9, 10 ], [ "ID", "Indonesia", 68.5, 23.4, 237.4 ], [ "IE", "Ireland", 79.5, 9.8, 4.5 ], [ "IL", "Israel", 81.6, null, 7.5 ], [ "IM", "Isle of Man", null, null, 0.1 ], [ "IN", "India", 64.8, 22.4, 1155.3 ], [ "IQ", "Iraq", 68.1, 19.2, 31.1 ], [ "IR", "Iran, Islamic Rep.", 72.5, 27.9, 73.1 ], [ "IS", "Iceland", 81.5, 8.1, 0.3 ], [ "IT", "Italy", 81.4, 12.3, 60.2 ], [ "JG", "Channel Islands", 79.7, 9.1, 0.2 ], [ "JM", "Jamaica", 72.6, 8.4, 2.7 ], [ "JO", "Jordan", 73.2, 19.3, 5.9 ], [ "JP", "Japan", 82.9, 15.2, 127.6 ], [ "KE", "Kenya", 55.8, 9.4, 39.5 ], [ "KG", "Kyrgyz Republic", 69.1, 13, 5.3 ], [ "KH", "Cambodia", 62.1, 19.7, 14 ], [ "KI", "Kiribati", null, null, 0.1 ], [ "KM", "Comoros", 60.2, 16.8, 0.7 ], [ "KN", "St. Kitts and Nevis", null, null, 0.1 ], [ "KP", "Korea, Dem. Rep.", 68.4, 13.2, 24.2 ], [ "KR", "Korea, Rep.", 80.3, 27.3, 48.7 ], [ "KV", "Kosovo", 69.6, null, 1.8 ], [ "KW", "Kuwait", 74.5, 13.1, 2.6 ], [ "KY", "Cayman Islands", null, null, 0.1 ], [ "KZ", "Kazakhstan", 68.4, 10.1, 15.9 ], [ "LA", "Lao PDR", 66.7, 22.7, 6.1 ], [ "LB", "Lebanon", 72.2, 11.2, 4.2 ], [ "LC", "St. Lucia", 74.2, 16.6, 0.2 ], [ "LI", "Liechtenstein", null, null, 0 ], [ "LK", "Sri Lanka", 74.6, 16.7, 20.7 ], [ "LR", "Liberia", 55.5, 17.9, 3.8 ], [ "LS", "Lesotho", 46.7, 0.2, 2.1 ], [ "LT", "Lithuania", 72.9, 3.1, 3.3 ], [ "LU", "Luxembourg", 80.1, 11.8, 0.5 ], [ "LV", "Latvia", 73.1, 3.3, 2.3 ], [ "LY", "Libya", 74.5, 27.8, 6.3 ], [ "MA", "Morocco", 71.6, 25, 31.6 ], [ "MC", "Monaco", null, null, 0 ], [ "MD", "Moldova", 68.6, 6.8, 3.6 ], [ "ME", "Montenegro", 74.2, 11.8, 0.6 ], [ "MF", "St. Martin (French part)", null, null, 0 ], [ "MG", "Madagascar", 66.2, 26.3, 20.1 ], [ "MH", "Marshall Islands", null, null, 0.1 ], [ "MK", "Macedonia, FYR", 74.4, 13.7, 2.1 ], [ "ML", "Mali", 50.5, 20.2, 14.9 ], [ "MM", "Myanmar", 64.2, 21.5, 47.6 ], [ "MN", "Mongolia", 67.9, 19.2, 2.7 ], [ "MO", "Macao SAR, China", 80.5, 15.5, 0.5 ], [ "MP", "Northern Mariana Islands", null, null, 0.1 ], [ "MR", "Mauritania", 57.9, 15.7, 3.4 ], [ "MT", "Malta", 79.9, 12.3, 0.4 ], [ "MU", "Mauritius", 72.9, 14.1, 1.3 ], [ "MV", "Maldives", 76.2, 38.7, 0.3 ], [ "MW", "Malawi", 52.7, 14.9, 14.4 ], [ "MX", "Mexico", 76.5, 19.5, 112 ], [ "MY", "Malaysia", 73.8, 14.4, 27.9 ], [ "MZ", "Mozambique", 49.3, 14.3, 22.9 ], [ "NA", "Namibia", 61.6, 14.7, 2.2 ], [ "NC", "New Caledonia", 76.3, 17.7, 0.3 ], [ "NE", "Niger", 53.8, 15.9, 15 ], [ "NG", "Nigeria", 50.9, 12.4, 154.5 ], [ "NI", "Nicaragua", 73.4, 26.5, 5.7 ], [ "NL", "Netherlands", 80.5, 7.1, 16.5 ], [ "NO", "Norway", 80.8, 7.3, 4.8 ], [ "NP", "Nepal", 68, 29.5, 29.4 ], [ "NZ", "New Zealand", 80.3, 9.1, 4.3 ], [ "OM", "Oman", 73, 30.7, 2.7 ], [ "PA", "Panama", 75.8, 15, 3.5 ], [ "PE", "Peru", 73.5, 25.9, 28.8 ], [ "PF", "French Polynesia", 74.9, 18.6, 0.3 ], [ "PG", "Papua New Guinea", 62.1, 23.6, 6.7 ], [ "PH", "Philippines", 68.2, 10.4, 91.7 ], [ "PK", "Pakistan", 65, 18.4, 170.5 ], [ "PL", "Poland", 75.7, 8, 38.2 ], [ "PR", "Puerto Rico", 78.8, 9.9, 4 ], [ "PS", "West Bank and Gaza", 72.5, null, 4 ], [ "PT", "Portugal", 78.7, 15.7, 10.6 ], [ "PW", "Palau", null, null, 0 ], [ "PY", "Paraguay", 72.1, 8.5, 6.3 ], [ "QA", "Qatar", 77.9, 18.1, 1.6 ], [ "RO", "Romania", 73.3, 7.6, 21.5 ], [ "RS", "Serbia", 73.7, null, 7.3 ], [ "RU", "Russian Federation", 68.6, 1.2, 141.8 ], [ "RW", "Rwanda", 54.7, 12.5, 10.3 ], [ "SA", "Saudi Arabia", 73.6, 28.7, 26.8 ], [ "SB", "Solomon Islands", 67.1, 17.7, 0.5 ], [ "SC", "Seychelles", 73, null, 0.1 ], [ "SD", "Sudan", 60.8, 19.2, 42.5 ], [ "SE", "Sweden", 81.4, 8.4, 9.3 ], [ "SG", "Singapore", 81.3, 15.6, 5 ], [ "SI", "Slovenia", 79, 10, 2 ], [ "SK", "Slovak Republic", 74.9, 4.9, 5.4 ], [ "SL", "Sierra Leone", 47, 15.5, 5.7 ], [ "SM", "San Marino", 83, null, 0 ], [ "SN", "Senegal", 58.6, 19.7, 12.1 ], [ "SO", "Somalia", 50.6, 14.6, 9.1 ], [ "SR", "Suriname", 70.1, 10.4, 0.5 ], [ "SS", "South Sudan", null, null, null ], [ "ST", "Sao Tome and Principe", 64.1, 13.6, 0.2 ], [ "SV", "El Salvador", 71.5, 20.2, 6.2 ], [ "SX", "Sint Maarten (Dutch part)", null, null, 0 ], [ "SY", "Syrian Arab Republic", 75.6, 22.9, 20 ], [ "SZ", "Swaziland", 47.9, 3.7, 1.2 ], [ "TC", "Turks and Caicos Islands", null, null, 0 ], [ "TD", "Chad", 48.9, 8.7, 10.9 ], [ "TG", "Togo", 56.2, 16.6, 5.9 ], [ "TH", "Thailand", 73.8, 18.5, 68.7 ], [ "TJ", "Tajikistan", 67, 10.8, 6.8 ], [ "TL", "Timor-Leste", 61.5, 27.8, 1.1 ], [ "TM", "Turkmenistan", 64.8, 10.4, 5 ], [ "TN", "Tunisia", 74.5, 26.2, 10.4 ], [ "TO", "Tonga", 72, 10.6, 0.1 ], [ "TR", "Turkey", 73.4, 25.1, 71.8 ], [ "TT", "Trinidad and Tobago", 69.5, 6.3, 1.3 ], [ "TV", "Tuvalu", null, null, 0 ], [ "TZ", "Tanzania", 56.6, 12.9, 43.5 ], [ "UA", "Ukraine", 69.2, -0.7, 46.1 ], [ "UG", "Uganda", 53.1, 9.1, 32.4 ], [ "US", "United States", 78.1, 8.3, 307 ], [ "UY", "Uruguay", 76.1, 8.3, 3.3 ], [ "UZ", "Uzbekistan", 67.8, 8.9, 27.8 ], [ "VC", "St. Vincent and the Grenadines", 71.9, 17.9, 0.1 ], [ "VE", "Venezuela, RB", 73.9, 15.4, 28.4 ], [ "VI", "Virgin Islands (U.S.)", 79.1, 15.4, 0.1 ], [ "VN", "Vietnam", 74.6, 30.4, 86 ], [ "VU", "Vanuatu", 70.5, 24, 0.2 ], [ "WS", "Samoa", 72.1, 22.1, 0.2 ], [ "YE", "Yemen, Rep.", 64.6, 26.8, 23.3 ], [ "YT", "Mayotte", 77.5, 21.5, 0.2 ], [ "ZA", "South Africa", 51.6, 2.6, 49.3 ], [ "ZM", "Zambia", 47.8, 2.7, 12.7 ], [ "ZW", "Zimbabwe", 48.5, -3, 12.5 ] ]; data.addColumn('string','Code'); data.addColumn('string','Country'); data.addColumn('number','Life expt. at birth in 2009'); data.addColumn('number','Difference in life exp. since 1960'); data.addColumn('number','Population in 2009 (millions)'); data.addRows(datajson); return(data); } // jsDrawChart function drawChartSummary_table() { var data = gvisDataSummary_table(); var options = {}; options["allowHtml"] = true; options["width"] = 540; options["height"] = 380; var chart = new google.visualization.Table( document.getElementById('Summary_table') ); chart.draw(data,options); } // jsDisplayChart function displayChartSummary_table() { google.load("visualization", "1", { packages:["table"] }); google.setOnLoadCallback(drawChartSummary_table); } // jsChart displayChartSummary_table() <!-- jsFooter --> //--> </script> <!-- divChart --> <div id="Summary_table" style="width: 540px; height: 380px;"> </div>