function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Bertrand', 2], ['African Invertebrates', 1], ['American Journal of Conchology', 1], ['Archiv für Naturgeschichte', 1], ['Journal of Natural History', 5], ['Le Naturaliste', 1], ['Parasites & Vectors', 1], ['Proceedings of the American Philosophical Society', 1], ['University Press', 1], ['Vestnik Zoologii', 3], ['ZooKeys', 2], ['Zoosystema', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=24)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);