function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Backhuys', 5], ['Bulletin of the British Museum (Natural History), Entomology Series', 1], ['China Agricultural University Press', 4], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 19], ['Memoirs of the Entomological Society of Southern Africa', 1], ['Parc National de la Garamba. — Mission H. de Saeger', 1], ['University of California Publications in Entomology', 18], ['University of Hawaii Press', 1], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=96)', 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);