function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['European Journal of Taxonomy', 4], ['Journal of Natural History', 2], ['Kosugi Co., Ltd.', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Nouveaux Mémoires de la Société Impériale des Naturalistes de Moscou', 1], ['Novi Commentarii Academiae Scientiarum Instituti Bononiensis', 1], ['Report of the Fisheries and Marine Biological Survey, Union of South Africa', 1], ['Vestnik Zoologii', 2], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);