function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 12], ['Benjamin White and Son', 17], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Erster Theil.', 2], ['Laurentius Salvius', 26], ['Monatsberichte der Königlich Preussischen Akademie des Wissenschaften zu Berlin', 6], ['Mölleri apud Heineck et Faber', 3], ['Proceedings of the Essex Institute (Communications)', 6], ['Records of the Australian Museum', 1], ['ZooKeys', 2], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=78)', 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);