function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 3], ['Archiv für Naturgeschichte, Abteilung A', 2], ['Biodiversity Data Journal', 7], ['Genus (Wroclaw)', 1], ['Halteres', 1], ['Insecta Mundi', 6], ['Linzer biologische Beiträge', 2], ['The Coleopterists Bulletin', 4], ['ZooKeys', 7], ['Zoological Systematics', 4], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=55)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);