function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 6], ['Asia Life Science', 2], ['Indira Publishing House', 3], ['Journal of the Entomological Society of Southern Africa', 3], ['Nature and Life in Southeast Asia', 1], ['Phytophylactica', 1], ['Systematic & Applied Acarology', 1], ['The Philippine Agriculturist', 5], ['Wuyi Science Journal', 2], ['ZooKeys', 1], ['Zoologicheskii Zhurnal', 1], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=43)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);