function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['An. Mus. Nac. Chile, Zool.', 1], ['Anzeiger', 1], ['Australian zoologist', 2], ['Biol. Results " Endeavour "', 1], ['Bulletin of the American Museum of Natural History', 3], ['Bulletin of the United States Fish Commission', 1], ['Copeia', 1], ['Cybium', 4], ['Journal of the Royal society of Western Australia', 1], ['Memoirs of the National Museum of Victoria', 5], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Oceanologica et Limnologica Sinica', 1], ['Proceedings of the California Academy of Sciences, Series 2', 2], ['Veit', 3], ['Zootaxa', 20], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);