function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 7], ['Biodiversity Data Journal', 3], ['Check List', 2], ['Geodiversitas', 4], ['Insecta Mundi', 1], ['International Journal of Myriapodology', 1], ['Journal of Natural History', 4], ['Species Diversity', 5], ['ZooKeys', 15], ['Zoosystema', 13], ['Zootaxa', 51] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=106)', 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);