function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bishop Museum Occasional Papers', 3], ['Insecta Mundi', 1], ['Investigaciones zoológicas chilenas', 1], ['L\'Échange, Revue Linnéenne', 3], ['Proceedings of the Hawaiian Entomological Society', 7], ['The Scientific Transactions of the Royal Dublin Society, Series 2', 11], ['Transactions of the Entomological Society of London', 11], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=41)', 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);