function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian zoologist', 1], ['Bulletin of Marine Science', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Dana Reports', 1], ['European Journal of Taxonomy', 2], ['Ichthyological Research', 1], ['Japanese Journal of Ichthyology', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Quarterly Journal of the Taiwan Museum', 2], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);