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
<!-- AreaChart generated in R 3.0.1 by googleVis 0.4.3 package --> <!-- Tue Aug 6 07:43:06 2013 --> <!-- jsHeader --> <script type="text/javascript"> // jsData function gvisDataarea2ylim () { var data = new google.visualization.DataTable(); var datajson = [ [ "A", 2, 105 ], [ "B", 9, 82 ], [ "C", 8, 42 ], [ "D", 13, 136 ], [ "E", 10, 43 ], [ "F", 7, 122 ], [ "G", 1, 148 ], [ "H", 15, 39 ], [ "I", 5, 27 ], [ "J", 4, 33 ] ]; data.addColumn('string','x'); data.addColumn('number','y_1'); data.addColumn('number','y_2'); data.addRows(datajson); return(data); } // jsDrawChart function drawChartarea2ylim() { var data = gvisDataarea2ylim(); var options = {}; options["allowHtml"] = true; options["series"] = [{targetAxisIndex:0}, {targetAxisIndex:1}]; options["vAxes"] = [{viewWindowMode:'explicit', viewWindow:{min:0, max:10}}, {viewWindowMode:'explicit', viewWindow:{min:0, max:100}}]; options["title"] = "y-limits set individually"; options["width"] = 500; options["height"] = 400; var chart = new google.visualization.AreaChart( document.getElementById('area2ylim') ); chart.draw(data,options); } // jsDisplayChart (function() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; var chartid = "corechart"; // Manually see if chartid is in pkgs (not all browsers support Array.indexOf) var i, newPackage = true; for (i = 0; newPackage && i < pkgs.length; i++) { if (pkgs[i] === chartid) newPackage = false; } if (newPackage) pkgs.push(chartid); // Add the drawChart function to the global list of callbacks callbacks.push(drawChartarea2ylim); })(); function displayChartarea2ylim() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; window.clearTimeout(window.__gvisLoad); // The timeout is set to 100 because otherwise the container div we are // targeting might not be part of the document yet window.__gvisLoad = setTimeout(function() { var pkgCount = pkgs.length; google.load("visualization", "1", { packages:pkgs, callback: function() { if (pkgCount != pkgs.length) { // Race condition where another setTimeout call snuck in after us; if // that call added a package, we must not shift its callback return; } while (callbacks.length > 0) callbacks.shift()(); } }); }, 100); } // jsFooter </script> <!-- jsChart --> <script type="text/javascript" src="https://www.google.com/jsapi?callback=displayChartarea2ylim"></script> <!-- divChart --> <div id="area2ylim" style="width: 500px; height: 400px;"> </div>