function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States National Museum', 1], ['Monatsberichte der Königlich Preussischen Akademie des Wissenschaften zu Berlin', 2], ['Proceedings of the Royal Society of London', 3], ['Raffles Bulletin of Zoology', 1], ['Records of the Australian Museum', 38], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger during the Years 1873 – 76, Zoology', 7], ['ZooKeys', 73], ['Zootaxa', 26] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=151)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);