function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bol. Soc. Nac. Agric., Rio de Janeiro [Lavoura]', 1], ['Longman’s', 1], ['Monographs of the Academy of Natural Sciences of Philadelphia', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Proceedings of the United States National Museum, 3', 1], ['Records of the Australian Museum', 1], ['Revue et Magasin de Zoologie, Série 3', 2], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=11)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);