function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Check List', 7], ['Journal of Natural History', 24], ['Journal of Parasitology', 2], ['PhytoKeys', 3], ['Phytotaxa', 6], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Systematic Parasitology', 1], ['ZooKeys', 6], ['Zoopathologica', 1], ['Zoosystema', 28], ['Zootaxa', 50] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=130)', 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);