function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 6], ['Far Eastern Entomologist', 2], ['Insects of Guam I', 1], ['Journal of the Australian Entomological Society', 3], ['Memoirs of Museum Victoria', 2], ['Pacific insects monograph', 1], ['Papers and proceedings of the Royal Society of Tasmania', 1], ['Records of the Australian Museum', 2], ['Revue suisse de Zoologie', 2], ['Russian Entomological Journal', 4], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', 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);