Monday, September 29, 2014

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>GeoMapID138457f81752</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css">
body {
  color: #444444;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 75%;
  }
  a {
  color: #4D87C7;
  text-decoration: none;
}
</style>
</head>
<body>
 <!-- GeoMap generated in R 3.1.1 by googleVis 0.5.5 package -->
<!-- Mon Sep 29 14:05:52 2014 -->


<!-- jsHeader -->
<script type="text/javascript">

// jsData
function gvisDataGeoMapID138457f81752 () {
var data = new google.visualization.DataTable();
var datajson =
[
 [
 "IN-AP",
26494504,
"Andhra"
],
[
 "IN-AR",
5811555,
"Arunachal"
],
[
 "IN-AS",
9656985,
"Assam"
],
[
 "IN-BR",
4729133,
"Bihar"
],
[
 "IN-CT",
3744314,
"Chhattisgarh"
]
];
data.addColumn('string','code');
data.addColumn('number','Population');
data.addColumn('string','DevZone');
data.addRows(datajson);
return(data);
}

// jsDrawChart
function drawChartGeoMapID138457f81752() {
var data = gvisDataGeoMapID138457f81752();
var options = {};
options["dataMode"] = "regions";
options["width"] =    556;
options["height"] =    347;
options["region"] = "IN";
options["color"] = "values";


    var chart = new google.visualization.GeoMap(
    document.getElementById('GeoMapID138457f81752')
    );
    chart.draw(data,options);
 

}


// jsDisplayChart
(function() {
var pkgs = window.__gvisPackages = window.__gvisPackages || [];
var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];
var chartid = "geomap";

// 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(drawChartGeoMapID138457f81752);
})();
function displayChartGeoMapID138457f81752() {
  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=displayChartGeoMapID138457f81752"></script>

<!-- divChart -->

<div id="GeoMapID138457f81752"
  style="width: 556; height: 347;">
</div>
 <div><span>Data: data_IN &#8226; Chart ID: <a href="Chart_GeoMapID138457f81752.html">GeoMapID138457f81752</a> &#8226; <a href="https://github.com/mages/googleVis">googleVis-0.5.5</a></span><br />
<!-- htmlFooter -->
<span>
  R version 3.1.1 (2014-07-10)
  &#8226; <a href="https://developers.google.com/terms/">Google Terms of Use</a> &#8226; <a href="https://google-developers.appspot.com/chart/interactive/docs/gallery/geomap">Documentation and Data Policy</a>
</span></div>
</body>
</html>

123123123

Wednesday, September 24, 2014

boring class

Categories

Unordered List

Sample Text

Powered by Blogger.

Popular Posts

Recent Posts

Text Widget