function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College.', 1], ['Raffles Bulletin of Zoology', 30], ['Records of the Australian Museum', 23], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 3], ['Zootaxa', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=92)', 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);