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
<!-- LineChart generated in R 3.0.0 by googleVis 0.4.2 package --> <!-- Sun Apr 7 22:20:19 2013 --> <!-- jsHeader --> <script type="text/javascript"> // jsData function gvisDatatwoaxislinechart () { var data = new google.visualization.DataTable(); var datajson = [ [ new Date(2013,3,8), 0.1, 230000 ], [ new Date(2013,4,7), 0.3, 120000 ], [ new Date(2013,5,26), 0.4, 320000 ] ]; data.addColumn('date','Date'); data.addColumn('number','Percent'); data.addColumn('number','Millions'); data.addRows(datajson); return(data); } // jsDrawChart function drawCharttwoaxislinechart() { var data = gvisDatatwoaxislinechart(); var options = {}; options["allowHtml"] = true; options["title"] = "Hello World"; options["titleTextStyle"] = {color:'red', fontName:'Courier', fontSize:16}; options["curveType"] = "function"; options["pointSize"] = 9; options["series"] = [{targetAxisIndex:0, color:'red'}, {targetAxisIndex:1, color:'blue'}]; options["vAxes"] = [{title:'Percent', format:'#,###%', titleTextStyle: {color: 'blue'}, textStyle:{color: 'blue'}, textPosition: 'out'}, {title:'Millions', format:'#,###', titleTextStyle: {color: 'red'}, textStyle:{color: 'red'}, textPosition: 'out'}]; options["hAxes"] = [{title:'Date', textPosition: 'out'}]; options["width"] = 550; options["height"] = 500; var chart = new google.visualization.LineChart( document.getElementById('twoaxislinechart') ); 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(drawCharttwoaxislinechart); })(); function displayCharttwoaxislinechart() { 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=displayCharttwoaxislinechart"></script> <!-- divChart --> <div id="twoaxislinechart" style="width: 550px; height: 500px;"> </div>