function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Entomologique de France, Séries 1 - 6', 1], ['Annals of the Entomological Society of America', 1], ['Annual report of the Agricultural Experiment Station', 1], ['Can Ent', 2], ['Canadian entomologist', 1], ['Entomological news', 1], ['Insecta Mundi', 4], ['Journal of the Bombay Natural History Society', 1], ['Journal of the Georgia Entomological Society', 1], ['Trans Proc N Z Inst', 1], ['Transactions and proceedings of the New Zealand Institute', 1], ['ZooKeys', 7], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', 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);