function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Journal of Zoology, Supplementary Series', 10], ['Bulletin of the Museum of Comparative Zoology at Harvard College.', 1], ['Memoirs of Museum Victoria', 1], ['New Zealand entomologist', 1], ['Pacific insects', 46], ['Pacific insects monograph', 1], ['Papéis Avulsos de Zoologia', 2], ['Records of the Australian Museum', 4], ['Records of the Canterbury Museum', 5], ['Revue suisse de Zoologie', 1], ['Revue suisse de zoologie', 3], ['Transactions and proceedings of the New Zealand Institute', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);