function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 18], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 5], ['European Journal of Taxonomy', 21], ['Insecta Mundi', 8], ['Papéis Avulsos de Zoologia', 22], ['Proceedings of the Zoological Society of London, B', 1], ['Revue suisse de Zoologie', 23], ['ZooKeys', 11], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 2], ['Zootaxa', 108] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=221)', 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);