function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Protozoologica', 2], ['Acta-Protozoologica', 2], ['Biodiversity Data Journal', 178], ['Cladistics', 17], ['European Journal of Protistology', 3], ['Journal of Eukaryotic Microbiology', 2], ['Journal of Threatened Taxa', 14], ['Species Diversity', 1], ['The Journal of Eukaryotic Microbiology', 1], ['Vestnik Zoologii', 2], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=278)', 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);