I am wondering if it is possible to customize a region geochart (global) to provide additional information in the rollovers. The specific values that I have for each country are taken from different sources, and I'd like the rollover to provide information about the source.
function drawRegionsMap() {
var data = google.visualization.arrayToDataTable([
['Country', 'Popularity'],
['Germany', 200],
['United States', 300],
['Brazil', 400],
['Canada', 500],
['France', 600],
['RU', 700]
]);
var options = {};
var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));
chart.draw(data, options);
}Essentially, I'd like to add another variable "Source" and have the value of Source reported only as a line for each country in the rollover box. For example, when I scroll over Germany I'd see:
__________
Germany
Popularity: 200
Source: World Bank
_________
From JSFiddling it is obvious that I cannot simply add a variable to the data table, ike this
['Country', 'Popularity', 'Source'],
['Germany', 200, 'World Bank'],
['United States', 300, 'OECD'],
['Brazil', 400, 'World Bank'],
etc.
Any suggestions where to look.